@@ -444,7 +444,7 @@ def test_send_offset_commit_request_fail(mocker, patched_coord, offsets):
444444 # No coordinator
445445 ret = patched_coord ._send_offset_commit_request (offsets )
446446 assert ret .failed ()
447- assert isinstance (ret .exception , Errors .GroupCoordinatorNotAvailableError )
447+ assert isinstance (ret .exception , Errors .CoordinatorNotAvailableError )
448448
449449
450450@pytest .mark .parametrize ('api_version,req_type' , [
@@ -497,11 +497,11 @@ def test_send_offset_commit_request_success(mocker, patched_coord, offsets):
497497 (OffsetCommitResponse [0 ]([('foobar' , [(0 , 28 ), (1 , 28 )])]),
498498 Errors .InvalidCommitOffsetSizeError , False ),
499499 (OffsetCommitResponse [0 ]([('foobar' , [(0 , 14 ), (1 , 14 )])]),
500- Errors .GroupLoadInProgressError , False ),
500+ Errors .CoordinatorLoadInProgressError , False ),
501501 (OffsetCommitResponse [0 ]([('foobar' , [(0 , 15 ), (1 , 15 )])]),
502- Errors .GroupCoordinatorNotAvailableError , True ),
502+ Errors .CoordinatorNotAvailableError , True ),
503503 (OffsetCommitResponse [0 ]([('foobar' , [(0 , 16 ), (1 , 16 )])]),
504- Errors .NotCoordinatorForGroupError , True ),
504+ Errors .NotCoordinatorError , True ),
505505 (OffsetCommitResponse [0 ]([('foobar' , [(0 , 7 ), (1 , 7 )])]),
506506 Errors .RequestTimedOutError , True ),
507507 (OffsetCommitResponse [0 ]([('foobar' , [(0 , 25 ), (1 , 25 )])]),
@@ -557,7 +557,7 @@ def test_send_offset_fetch_request_fail(mocker, patched_coord, partitions):
557557 # No coordinator
558558 ret = patched_coord ._send_offset_fetch_request (partitions )
559559 assert ret .failed ()
560- assert isinstance (ret .exception , Errors .GroupCoordinatorNotAvailableError )
560+ assert isinstance (ret .exception , Errors .CoordinatorNotAvailableError )
561561
562562
563563@pytest .mark .parametrize ('api_version,req_type' , [
@@ -606,9 +606,9 @@ def test_send_offset_fetch_request_success(patched_coord, partitions):
606606
607607@pytest .mark .parametrize ('response,error,dead' , [
608608 (OffsetFetchResponse [0 ]([('foobar' , [(0 , 123 , '' , 14 ), (1 , 234 , '' , 14 )])]),
609- Errors .GroupLoadInProgressError , False ),
609+ Errors .CoordinatorLoadInProgressError , False ),
610610 (OffsetFetchResponse [0 ]([('foobar' , [(0 , 123 , '' , 16 ), (1 , 234 , '' , 16 )])]),
611- Errors .NotCoordinatorForGroupError , True ),
611+ Errors .NotCoordinatorError , True ),
612612 (OffsetFetchResponse [0 ]([('foobar' , [(0 , 123 , '' , 25 ), (1 , 234 , '' , 25 )])]),
613613 Errors .UnknownMemberIdError , False ),
614614 (OffsetFetchResponse [0 ]([('foobar' , [(0 , 123 , '' , 22 ), (1 , 234 , '' , 22 )])]),
0 commit comments