Skip to content

Instantly share code, notes, and snippets.

@aLekSer
Created January 22, 2021 19:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aLekSer/0a4e27217431ba241a71904a67058436 to your computer and use it in GitHub Desktop.
Save aLekSer/0a4e27217431ba241a71904a67058436 to your computer and use it in GitHub Desktop.
Some failures on `make test`
Add increment of openslots after player finished or on transition
2021/01/22 21:52:01 Tickets [id:"1"] 2021 +0300
--- FAIL: TestHandleBackfills (0.00s) ions(+), 4 deletions(-)
--- FAIL: TestHandleBackfills/returns_a_match_with_open_slots_decreased (0.00s) 60 open-match % git push -f leks
matchfunction_test.go:58: ne.
Error Trace: matchfunction_test.go:58 21), done.
Error: Not equal: to 12 threads
expected: 18 11/11), done.
actual : 0 1), 1.24 KiB | 424.00 KiB/s, done.
Test: TestHandleBackfills/returns_a_match_with_open_slots_decreased 0 (delta 0), pack-reused 0
--- FAIL: TestMakeMatchWithBackfill (0.00s) 00% (6/6), completed with 5 local objects.
--- FAIL: TestMakeMatchWithBackfill/returns_an_error_when_length_of_tickets_is_greater_then_playerPerMatch (0.00s) match.git
matchfunction_test.go:90: in-backfill-demo -> dropin-backfill-demo (forced update)
Error Trace: matchfunction_test.go:90 60 open-match %
Error: Not equal: "BY-IT00060" 01:37 22-Jan-21
expected: true
actual : false
Test: TestMakeMatchWithBackfill/returns_an_error_when_length_of_tickets_is_greater_then_playerPerMatch
--- FAIL: TestMakeMatchWithBackfill/returns_an_error_when_length_of_tickets_is_equal_to_playerPerMatch (0.00s)
matchfunction_test.go:90:
Error Trace: matchfunction_test.go:90
Error: Not equal:
expected: true
actual : false
Test: TestMakeMatchWithBackfill/returns_an_error_when_length_of_tickets_is_equal_to_playerPerMatch
--- FAIL: TestMakeFullMatches (0.00s)
--- FAIL: TestMakeFullMatches/returns_a_match_when_length_of_tickets_is_greater_then_playersPerMatch (0.00s)
matchfunction_test.go:125:
Error Trace: matchfunction_test.go:125
Error: Not equal:
expected: 1
actual : 0
Test: TestMakeFullMatches/returns_a_match_when_length_of_tickets_is_greater_then_playersPerMatch
FAIL
coverage: 45.1% of statements
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment