Skip to content

Commit

Permalink
Enable unrelated query matching test
Browse files Browse the repository at this point in the history
Signed-off-by: methylDragon <[email protected]>
  • Loading branch information
methylDragon committed Sep 11, 2024
1 parent ad3f25a commit 330df34
Showing 1 changed file with 8 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -205,18 +205,15 @@ TEST_F(MoveGroupFixture, QueryOnlyGTEFeature)
}

// Unrelated. No match.
{
Query::Ptr unrelated_fuzzy_query = coll.createQuery();
unrelated_gte_feature.appendFeaturesAsFuzzyFetchQuery(*unrelated_fuzzy_query, msg, *move_group_, 0.0);
EXPECT_TRUE(coll.queryList(unrelated_fuzzy_query).empty());

// NOTE: Disabled until https://github.com/moveit/warehouse_ros_sqlite/issues/43 is fixed.
// {
// Query::Ptr unrelated_fuzzy_query = coll.createQuery();
// query.append("unrelated", 6.0);
// unrelated_gte_feature.appendFeaturesAsFuzzyFetchQuery(*unrelated_fuzzy_query, msg, *move_group_, 0.0);
// EXPECT_TRUE(coll.queryList(unrelated_fuzzy_query).empty());

// Query::Ptr exact_query = coll.createQuery();
// unrelated_gte_feature.appendFeaturesAsExactFetchQuery(*exact_query, msg, *move_group_, 0.0);
// EXPECT_TRUE(coll.queryList(exact_query).empty());
// }
Query::Ptr exact_query = coll.createQuery();
unrelated_gte_feature.appendFeaturesAsExactFetchQuery(*exact_query, msg, *move_group_, 0.0);
EXPECT_TRUE(coll.queryList(exact_query).empty());
}

// Mismatched. No match.
{
Expand Down

0 comments on commit 330df34

Please sign in to comment.