Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix failing index test #116

Merged
merged 1 commit into from
Mar 14, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix failing index test
tmiddlet2666 committed Mar 14, 2025

Verified

This commit was signed with the committer’s verified signature.
tmiddlet2666 Tim Middleton
commit f7b335e1de6d5e4ff95562b86802c29c0867156b
6 changes: 3 additions & 3 deletions test/e2e/standalone/index_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023, 2024 Oracle and/or its affiliates.
* Copyright (c) 2023, 2025 Oracle and/or its affiliates.
* Licensed under the Universal Permissive License v 1.0 as shown at
* https://oss.oracle.com/licenses/upl.
*/
@@ -103,6 +103,6 @@ func canFindIndex(g *gomega.WithT, namedMap coherence.NamedMap[int, utils.Person
g.Expect(err).ShouldNot(gomega.HaveOccurred())

jsonString := string(jsonData)
return strings.Contains(jsonString, "\"extractor\":\".id\",\"index\":\"Simple") ||
strings.Contains(jsonString, "\"extractor\":\".id\",\"index\":\"Partitioned")
return strings.Contains(jsonString, "id\",\"index\":\"Simple") ||
strings.Contains(jsonString, "id\",\"index\":\"Partitioned")
}