Send ratings of search parties in queue #2243
test.yml
on: pull_request
unit-test
5m 52s
docker-build
37s
Annotations
4 errors and 2 warnings
unit-test:
tests/integration_tests/test_teammatchmaker.py#L86
test_info_message[qstream]
KeyError: 'boundaries'
|
unit-test:
tests/integration_tests/test_teammatchmaker.py#L86
test_info_message[json]
KeyError: 'boundaries'
|
unit-test:
tests/unit_tests/test_lobbyconnection.py#L1033
test_command_matchmaker_info
AssertionError: expected call not found.
Expected: mock({'command': 'matchmaker_info', 'queues': [{'queue_name': 'test', 'queue_pop_time': '2019-07-01T16:53:20+00:00', 'queue_pop_time_delta': 1.0, 'team_size': 3, 'num_players': 6, 'ratings': [1700, 125, 1125], 'boundary_80s': [(1800, 2200), (400, 800), (800, 1200)], 'boundary_75s': [(1900, 2100), (500, 700), (900, 1100)]}]})
Actual: mock({'command': 'matchmaker_info', 'queues': [{'queue_name': 'test', 'queue_pop_time': '2019-07-01T16:53:20+00:00', 'queue_pop_time_delta': 1, 'num_players': 6, 'ratings': [1125, 1700, 125], 'boundary_80s': [(1800, 2200), (400, 800), (800, 1200)], 'boundary_75s': [(1900, 2100), (500, 700), (900, 1100)], 'team_size': 3}]})
pytest introspection follows:
Args:
assert ({'command': ...est', ...}]},) == ({'command': ...est', ...}]},)
At index 0 diff: {'command': 'matchmaker_info', 'queues': [{'queue_name': 'test', 'queue_pop_time': '2019-07-01T16:53:20+00:00', 'queue_pop_time_delta': 1, 'num_players': 6, 'ratings': [1125, 1700, 125], 'boundary_80s': [(1800, 2200), (400, 800), (800, 1200)], 'boundary_75s': [(1900, 2100), (500, 700), (900, 1100)], 'team_size': 3}]} != {'command': 'matchmaker_info', 'queues': [{'queue_name': 'test', 'queue_pop_time': '2019-07-01T16:53:20+00:00', 'queue_pop_time_delta': 1.0, 'team_size': 3, 'num_players': 6, 'ratings': [1700, 125, 1125], 'boundary_80s': [(1800, 2200), (400, 800), (800, 1200)], 'boundary_75s': [(1900, 2100), (500, 700), (900, 1100)]}]}
Full diff:
(
{
'command': 'matchmaker_info',
'queues': [
{
'boundary_75s': [
(
1900,
2100,
),
(
500,
700,
),
(
900,
1100,
),
],
'boundary_80s': [
(
1800,
2200,
),
(
400,
800,
),
(
800,
1200,
),
],
'num_players': 6,
'queue_name': 'test',
'queue_pop_time': '2019-07-01T16:53:20+00:00',
- 'queue_pop_time_delta': 1.0,
? --
+ 'queue_pop_time_delta': 1,
'ratings': [
+ 1125,
1700,
125,
- 1125,
],
'team_size': 3,
},
],
},
)
|
unit-test
Process completed with exit code 1.
|
docker-build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
unit-test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3, actions/setup-python@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|