Merge pull request #15187 from rook/mergify/bp/release-1.16/pr-15185

test: fix flaky object config unit test (backport #15185)
This commit is contained in:
Travis Nielsen authored and GitHub committed 2024-12-17 11:29:29 -07:00
commit 71dcc6fe00
1 file changed
+1 -2
+1 -2
View File
@@ -17,7 +17,6 @@ limitations under the License.
package object
import (
"fmt"
"testing"
cephv1 "github.com/rook/rook/pkg/apis/ceph.rook.io/v1"
@@ -178,7 +177,7 @@ func Test_clusterConfig_generateMonConfigOptions(t *testing.T) {
t.Errorf("clusterConfig.generateMonConfigOptions() error = %v, wantErr %v", err, tt.wantErr)
return
}
assert.Equal(t, fmt.Sprint(tt.want), fmt.Sprint(got)) // go maps are stringified in sorted order for testing
assert.Equal(t, tt.want, got)
})
}
}