@@ -444,7 +444,7 @@ def test_send_offset_commit_request_fail(mocker, patched_coord, offsets):
444
444
# No coordinator
445
445
ret = patched_coord ._send_offset_commit_request (offsets )
446
446
assert ret .failed ()
447
- assert isinstance (ret .exception , Errors .GroupCoordinatorNotAvailableError )
447
+ assert isinstance (ret .exception , Errors .CoordinatorNotAvailableError )
448
448
449
449
450
450
@pytest .mark .parametrize ('api_version,req_type' , [
@@ -497,11 +497,11 @@ def test_send_offset_commit_request_success(mocker, patched_coord, offsets):
497
497
(OffsetCommitResponse [0 ]([('foobar' , [(0 , 28 ), (1 , 28 )])]),
498
498
Errors .InvalidCommitOffsetSizeError , False ),
499
499
(OffsetCommitResponse [0 ]([('foobar' , [(0 , 14 ), (1 , 14 )])]),
500
- Errors .GroupLoadInProgressError , False ),
500
+ Errors .CoordinatorLoadInProgressError , False ),
501
501
(OffsetCommitResponse [0 ]([('foobar' , [(0 , 15 ), (1 , 15 )])]),
502
- Errors .GroupCoordinatorNotAvailableError , True ),
502
+ Errors .CoordinatorNotAvailableError , True ),
503
503
(OffsetCommitResponse [0 ]([('foobar' , [(0 , 16 ), (1 , 16 )])]),
504
- Errors .NotCoordinatorForGroupError , True ),
504
+ Errors .NotCoordinatorError , True ),
505
505
(OffsetCommitResponse [0 ]([('foobar' , [(0 , 7 ), (1 , 7 )])]),
506
506
Errors .RequestTimedOutError , True ),
507
507
(OffsetCommitResponse [0 ]([('foobar' , [(0 , 25 ), (1 , 25 )])]),
@@ -557,7 +557,7 @@ def test_send_offset_fetch_request_fail(mocker, patched_coord, partitions):
557
557
# No coordinator
558
558
ret = patched_coord ._send_offset_fetch_request (partitions )
559
559
assert ret .failed ()
560
- assert isinstance (ret .exception , Errors .GroupCoordinatorNotAvailableError )
560
+ assert isinstance (ret .exception , Errors .CoordinatorNotAvailableError )
561
561
562
562
563
563
@pytest .mark .parametrize ('api_version,req_type' , [
@@ -606,9 +606,9 @@ def test_send_offset_fetch_request_success(patched_coord, partitions):
606
606
607
607
@pytest .mark .parametrize ('response,error,dead' , [
608
608
(OffsetFetchResponse [0 ]([('foobar' , [(0 , 123 , '' , 14 ), (1 , 234 , '' , 14 )])]),
609
- Errors .GroupLoadInProgressError , False ),
609
+ Errors .CoordinatorLoadInProgressError , False ),
610
610
(OffsetFetchResponse [0 ]([('foobar' , [(0 , 123 , '' , 16 ), (1 , 234 , '' , 16 )])]),
611
- Errors .NotCoordinatorForGroupError , True ),
611
+ Errors .NotCoordinatorError , True ),
612
612
(OffsetFetchResponse [0 ]([('foobar' , [(0 , 123 , '' , 25 ), (1 , 234 , '' , 25 )])]),
613
613
Errors .UnknownMemberIdError , False ),
614
614
(OffsetFetchResponse [0 ]([('foobar' , [(0 , 123 , '' , 22 ), (1 , 234 , '' , 22 )])]),
0 commit comments