Backport go_srcs_in_module changes and fix goword failures.

Signed-off-by: James Blair <mail@jamesblair.net>
This commit is contained in:
James Blair
2023-02-24 22:01:41 +13:00
parent 183af509f6
commit 1ea808b5ba
42 changed files with 121 additions and 313 deletions

View File

@@ -712,7 +712,7 @@ func TestServeMembers(t *testing.T) {
}
}
// TODO: consolidate **ALL** fake server implementations and add no leader test case.
// TestServeLeader TODO: consolidate **ALL** fake server implementations and add no leader test case.
func TestServeLeader(t *testing.T) {
memb1 := membership.Member{ID: 1, Attributes: membership.Attributes{ClientURLs: []string{"http://localhost:8080"}}}
memb2 := membership.Member{ID: 2, Attributes: membership.Attributes{ClientURLs: []string{"http://localhost:8081"}}}