Skip to content

Commit

Permalink
Fix TestStoreSubjectStateConsistency for v2.10
Browse files Browse the repository at this point in the history
Signed-off-by: Waldemar Quevedo <[email protected]>
  • Loading branch information
wallyqs committed Jan 8, 2025
1 parent b94eaa3 commit 14db100
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/store_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ func TestStoreSubjectStateConsistency(t *testing.T) {

// Publish an initial batch of messages.
for i := 0; i < 4; i++ {
_, _, err := fs.StoreMsg("foo", nil, nil, 0)
_, _, err := fs.StoreMsg("foo", nil, nil)
require_NoError(t, err)
}

Expand Down Expand Up @@ -221,7 +221,7 @@ func TestStoreSubjectStateConsistency(t *testing.T) {

// Publish some more messages so we can test another scenario.
for i := 0; i < 3; i++ {
_, _, err := fs.StoreMsg("foo", nil, nil, 0)
_, _, err := fs.StoreMsg("foo", nil, nil)
require_NoError(t, err)
}

Expand Down

0 comments on commit 14db100

Please sign in to comment.