(t *testing.T, conn *Conn)
| 803 | } |
| 804 | |
| 805 | func testConnHeartbeatErr(t *testing.T, conn *Conn) { |
| 806 | groupID := makeGroupID() |
| 807 | createGroup(t, conn, groupID) |
| 808 | |
| 809 | _, err := conn.syncGroup(syncGroupRequestV0{ |
| 810 | GroupID: groupID, |
| 811 | }) |
| 812 | if !errors.Is(err, UnknownMemberId) && !errors.Is(err, NotCoordinatorForGroup) { |
| 813 | t.Fatalf("expected %v or %v; got %v", UnknownMemberId, NotCoordinatorForGroup, err) |
| 814 | } |
| 815 | } |
| 816 | |
| 817 | func testConnLeaveGroupErr(t *testing.T, conn *Conn) { |
| 818 | groupID := makeGroupID() |
nothing calls this directly
no test coverage detected