Skip to content

Commit ffbd1d7

Browse files
committed
Update TestSimpleMatching to allow for equal match counts
1 parent 33cc42e commit ffbd1d7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rticonnextdds_connector_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -397,15 +397,15 @@ func TestSimpleMatching(t *testing.T) {
397397

398398
change, err := input.WaitForPublications(2000)
399399
assert.Nil(t, err)
400-
assert.Greater(t, change, 1)
400+
assert.GreaterOrEqual(t, change, 1)
401401

402402
matches, err := input.GetMatchedPublications()
403403
assert.Nil(t, err)
404404
assert.NotEmpty(t, matches)
405405

406406
change, err = output.WaitForSubscriptions(2000)
407407
assert.Nil(t, err)
408-
assert.Greater(t, change, 1)
408+
assert.GreaterOrEqual(t, change, 1)
409409

410410
matches, err = output.GetMatchedSubscriptions()
411411
assert.Nil(t, err)

0 commit comments

Comments
 (0)