storagenode/console/consoleapi: fix flaky test
Change-Id: I1af928953a19155e3c2e9f8c63e7162978e7b475
This commit is contained in:
parent
9e7e753faf
commit
3eb321fd33
@ -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(),
|
||||
|
Loading…
Reference in New Issue
Block a user