Skip to content

Commit 6536c51

Browse files
committed
Wrap old WaitForVersion implementation with NoError assertion
1 parent 52bdb8a commit 6536c51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rest/blip_api_crud_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3271,7 +3271,7 @@ func TestBlipPushRevOnResurrection(t *testing.T) {
32713271

32723272
docVersion, err := btcRunner.PushRev(btc.id, docID, EmptyDocVersion(), []byte(`{"resurrect":true}`))
32733273
require.NoError(t, err)
3274-
rt.WaitForVersion(docID, docVersion)
3274+
require.NoError(t, rt.WaitForVersion(docID, docVersion))
32753275
require.Equal(t, startWarnCount, base.SyncGatewayStats.GlobalStats.ResourceUtilization.WarnCount.Value())
32763276
})
32773277
})

0 commit comments

Comments
 (0)