diff --git a/storagenode/console/consoleapi/payouts_test.go b/storagenode/console/consoleapi/payouts_test.go index 8529d1b0a..6b896e4c9 100644 --- a/storagenode/console/consoleapi/payouts_test.go +++ b/storagenode/console/consoleapi/payouts_test.go @@ -35,6 +35,9 @@ func TestHeldAmountApi(t *testing.T) { reputationDB := sno.DB.Reputation() baseURL := fmt.Sprintf("http://%s/api/heldamount", console.Listener.Addr()) + // pause nodestats reputation cache because later tests assert a specific joinedat. + sno.NodeStats.Cache.Reputation.Pause() + period := "2020-03" paystub := payouts.PayStub{ SatelliteID: satellite.ID(),