End to end tests for SDKGracefulTermination #2647
Labels
area/tests
Unit tests, e2e tests, anything to make sure things don't break
area/user-experience
Pertaining to developers trying to use Agones, e.g. SDK, installation, etc
good first issue
These are great first issues. If you are looking for a place to start, start here!
help wanted
We would love help on these issues. Please come help us!
kind/feature
New features for Agones
Milestone
Is your feature request related to a problem? Please describe.
We've had Graceful Termination for GameServer SDK in Alpha since 1.18.0, and it would be great to move it forward into Beta, however - we don't have any e2e tests for it, so it's hard for us to judge its stability.
Describe the solution you'd like
We should write some e2e tests for it, so we feel more confident in the implementation, and can gradate the feature.
Describe alternatives you've considered
Delete the feature, but I'm pretty sure it's being used, and it seems like a good thing.
Additional context
I think a potential way to test this would be (need to check this strategy sends the required signals):
GameServer
, with aterminationGracePeriodSeconds
of 60s and wait for it to move toReady
SHUTDOWN
command, in which case, it should get shutdown relatively quickly (or at least faster than the remaining 40s left).Some of the timing on this could be tweaked, but that's my general idea.
The text was updated successfully, but these errors were encountered: