mirror of
https://github.com/jcreek/CosmicClash.git
synced 2026-09-10 16:04:04 +00:00
14 lines
312 B
Go
14 lines
312 B
Go
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)
|
|
}
|
|
}
|