diff options
author | Geir Storli <geirst@yahooinc.com> | 2023-09-01 12:52:16 +0000 |
---|---|---|
committer | Geir Storli <geirst@yahooinc.com> | 2023-09-01 13:02:04 +0000 |
commit | 1e5a31d4440ca038c250aa977c6590d322be7f91 (patch) | |
tree | 0d788d181efba464d9670ab888b731f4e370b6aa /searchcore/src/tests | |
parent | 99b0f7d05af58420f28a89b177ebc9613f112ebc (diff) |
Add explorer for the attribute writer.
This shows which attribute fields that are assigned to each executor id.
Diffstat (limited to 'searchcore/src/tests')
-rw-r--r-- | searchcore/src/tests/proton/documentdb/document_subdbs/document_subdbs_test.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/searchcore/src/tests/proton/documentdb/document_subdbs/document_subdbs_test.cpp b/searchcore/src/tests/proton/documentdb/document_subdbs/document_subdbs_test.cpp index 0b498a791b3..e558074f724 100644 --- a/searchcore/src/tests/proton/documentdb/document_subdbs/document_subdbs_test.cpp +++ b/searchcore/src/tests/proton/documentdb/document_subdbs/document_subdbs_test.cpp @@ -1033,20 +1033,23 @@ TEST_F("require that underlying components are explorable", StoreOnlyExplorerFix { assertExplorer({}, f._explorer); EXPECT_TRUE(f._explorer.get_child("attribute").get() == nullptr); + EXPECT_TRUE(f._explorer.get_child("attributewriter").get() == nullptr); EXPECT_TRUE(f._explorer.get_child("index").get() == nullptr); } TEST_F("require that underlying components are explorable", FastAccessExplorerFixture) { - assertExplorer({"attribute"}, f._explorer); + assertExplorer({"attribute", "attributewriter"}, f._explorer); EXPECT_TRUE(f._explorer.get_child("attribute").get() != nullptr); + EXPECT_TRUE(f._explorer.get_child("attributewriter").get() != nullptr); EXPECT_TRUE(f._explorer.get_child("index").get() == nullptr); } TEST_F("require that underlying components are explorable", SearchableExplorerFixture) { - assertExplorer({"attribute", "index"}, f._explorer); + assertExplorer({"attribute", "attributewriter", "index"}, f._explorer); EXPECT_TRUE(f._explorer.get_child("attribute").get() != nullptr); + EXPECT_TRUE(f._explorer.get_child("attributewriter").get() != nullptr); EXPECT_TRUE(f._explorer.get_child("index").get() != nullptr); } |