mirror of
https://github.com/jcreek/CosmicClash.git
synced 2026-09-11 08:23:45 +00:00
feat: add signal-bound server supervisor command
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/cosmic-clash/cosmic-clash/server/supervisor"
|
||||
)
|
||||
|
||||
func TestSupervisorCommandUsesTheSameProductionGraceDefault(t *testing.T) {
|
||||
if supervisor.DefaultDrainGrace != 285*1000000000 {
|
||||
t.Fatalf("unexpected production drain grace: %s", supervisor.DefaultDrainGrace)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user