(t *testing.T)
| 73 | } |
| 74 | |
| 75 | func TestJoinInvalid(t *testing.T) { |
| 76 | n, err := defaultTestNode() |
| 77 | if err != nil { |
| 78 | t.Fatalf("defaultTestNode() failed: %v", err) |
| 79 | } |
| 80 | |
| 81 | others := []string{"junk:7337"} |
| 82 | if err := n.Join(others); err == nil { |
| 83 | t.Errorf("Join(%v) should have failed", others) |
| 84 | } |
| 85 | } |
| 86 | |
| 87 | func TestJoinValid(t *testing.T) { |
| 88 | // Create two Nodes |
nothing calls this directly
no test coverage detected