(t *testing.T, conn *Conn)
| 827 | } |
| 828 | |
| 829 | func testConnSyncGroupErr(t *testing.T, conn *Conn) { |
| 830 | groupID := makeGroupID() |
| 831 | waitForCoordinator(t, conn, groupID) |
| 832 | |
| 833 | _, err := conn.syncGroup(syncGroupRequestV0{ |
| 834 | GroupID: groupID, |
| 835 | }) |
| 836 | if !errors.Is(err, UnknownMemberId) && !errors.Is(err, NotCoordinatorForGroup) { |
| 837 | t.Fatalf("expected %v or %v; got %v", UnknownMemberId, NotCoordinatorForGroup, err) |
| 838 | } |
| 839 | } |
| 840 | |
| 841 | func testConnListGroupsReturnsGroups(t *testing.T, conn *Conn) { |
| 842 | group1 := makeGroupID() |
nothing calls this directly
no test coverage detected