-
Notifications
You must be signed in to change notification settings - Fork 897
Flaky Unit Test: TestControllerGameServerCount #4389
Copy link
Copy link
Closed
Labels
area/testsUnit tests, e2e tests, anything to make sure things don't breakUnit tests, e2e tests, anything to make sure things don't breakgood first issueThese are great first issues. If you are looking for a place to start, start here!These are great first issues. If you are looking for a place to start, start here!help wantedWe would love help on these issues. Please come help us!We would love help on these issues. Please come help us!kind/bugThese are bugs.These are bugs.
Description
Haven't seen this much, but it showed up today.
- https://console.cloud.google.com/cloud-build/builds/57e6cd21-847a-43f9-8683-3f13a1ee51c4?project=258182270954
- Fix sdkserver updatelist gameserver max items #4326
{"message":"unable to calculate 'Ready' state duration of 's2v9llhh4v1' GameServer","severity":"warning","source":"*metrics.Controller","time":"2025-12-17T23:54:54.815475533Z"}
--- FAIL: TestControllerGameServerCount (2.11s)
controller_test.go:88:
Error Trace: /go/src/agones.dev/agones/pkg/metrics/controller_test.go:88
/go/src/agones.dev/agones/pkg/metrics/controller_test.go:289
Error: Not equal:
expected: 2
actual : 1
Test: TestControllerGameServerCount
Messages: metric: gameservers_count, tags: [{none true} {default true} {PortAllocation true}], values don't match; got: 1, want: 2
{"message":"Wait for cache sync","severity":"info","time":"2025-12-17T23:54:54.818099822Z"}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area/testsUnit tests, e2e tests, anything to make sure things don't breakUnit tests, e2e tests, anything to make sure things don't breakgood first issueThese are great first issues. If you are looking for a place to start, start here!These are great first issues. If you are looking for a place to start, start here!help wantedWe would love help on these issues. Please come help us!We would love help on these issues. Please come help us!kind/bugThese are bugs.These are bugs.