Skip to content

Daemon and DHT Tests#79

Closed
llSourcell wants to merge 8 commits intoipfs:masterfrom
llSourcell:master
Closed

Daemon and DHT Tests#79
llSourcell wants to merge 8 commits intoipfs:masterfrom
llSourcell:master

Conversation

@llSourcell
Copy link
Contributor

  1. Created Daemon_Test.go and testing the listener
  2. A DHT test

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would try to give some semantic significance to the names of the assigned variables.

For example: assuming GetProviders returns a []Peer, resp and resp2 might not be as readable as localPeers and remotePeers

@llSourcell llSourcell changed the title add test for DHT package #59 Daemon, DHT, and IPFSNode Tests Sep 16, 2014
@llSourcell
Copy link
Contributor Author

@whyrusleeping regarding doing some sample commands over this interface, I think as you said near the end of your comment, that those tests belong in core/commands.

core/core.go Outdated
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Close method should shut down each of the individual subsystems in core. im not quite sure whats going on here

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah k, need to convert c++ mentality to go

@llSourcell llSourcell changed the title Daemon, DHT, and IPFSNode Tests Daemon and DHT Tests Sep 17, 2014
@llSourcell
Copy link
Contributor Author

I am closing this pull request because because Brian said there are going to be merge conflicts with the DHT so im only going to push daemon related code in another PR

@llSourcell llSourcell closed this Sep 18, 2014
@aschmahmann aschmahmann mentioned this pull request Sep 22, 2020
72 tasks
ariescodescream pushed a commit to ariescodescream/go-ipfs that referenced this pull request Oct 23, 2021
@aschmahmann aschmahmann mentioned this pull request Dec 1, 2021
80 tasks
ariescodescream pushed a commit to ariescodescream/go-ipfs that referenced this pull request Apr 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants