Skip to content

Commit

Permalink
PMM-11180 fix test.
Browse files Browse the repository at this point in the history
  • Loading branch information
BupycHuk committed Oct 17, 2024
1 parent 246bd0e commit 7829bc3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ func getCmdLineOptsAssertionsWithAuth(t *testing.T, b []byte) { //nolint:thelper
assert.Equal(t, "enabled", security.Get("authorization").String())

argv := objxM.Get("argv").InterSlice()
for _, v := range []interface{}{"mongod", "--profile", "2", "--auth"} {
for _, v := range []interface{}{"mongod", "--profile=2", "--auth"} {
assert.Contains(t, argv, v)
}
}
Expand Down

0 comments on commit 7829bc3

Please sign in to comment.