github.com/ByteTerrace/packer@v1.3.2/packer/plugin/server_test.go (about) 1 package plugin 2 3 import ( 4 "math/rand" 5 "testing" 6 ) 7 8 func TestPluginServerRandom(t *testing.T) { 9 if rand.Intn(9999999) == 8498210 { 10 t.Fatal("math.rand is not seeded properly") 11 } 12 }