(t *testing.T, conn *Conn)
| 815 | } |
| 816 | |
| 817 | func testConnLeaveGroupErr(t *testing.T, conn *Conn) { |
| 818 | groupID := makeGroupID() |
| 819 | waitForCoordinator(t, conn, groupID) |
| 820 | |
| 821 | _, err := conn.leaveGroup(leaveGroupRequestV0{ |
| 822 | GroupID: groupID, |
| 823 | }) |
| 824 | if !errors.Is(err, UnknownMemberId) && !errors.Is(err, NotCoordinatorForGroup) { |
| 825 | t.Fatalf("expected %v or %v; got %v", UnknownMemberId, NotCoordinatorForGroup, err) |
| 826 | } |
| 827 | } |
| 828 | |
| 829 | func testConnSyncGroupErr(t *testing.T, conn *Conn) { |
| 830 | groupID := makeGroupID() |
nothing calls this directly
no test coverage detected