diff --git a/galaxycache_test.go b/galaxycache_test.go index bc53ec46..6017191a 100644 --- a/galaxycache_test.go +++ b/galaxycache_test.go @@ -272,7 +272,7 @@ func TestPeers(t *testing.T) { return dest.UnmarshalBinary([]byte("got:" + key)) } - testGalaxy := universe.NewGalaxy("TestPeers-galaxy", tc.cacheSize, GetterFunc(getter), WithPromoter(&promoter.ProbabilisticPromoter{10})) + testGalaxy := universe.NewGalaxy("TestPeers-galaxy", tc.cacheSize, GetterFunc(getter), WithPromoter(&promoter.ProbabilisticPromoter{ProbDenominator: 10})) if tc.initFunc != nil { tc.initFunc(testGalaxy, testproto.TestFetchers)