Skip to content

Commit

Permalink
[native] Move optional node config test in existing ConfigTest.
Browse files Browse the repository at this point in the history
  • Loading branch information
amitkdutta committed May 24, 2024
1 parent e17d22d commit 98e941f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 32 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -246,4 +246,12 @@ TEST_F(ConfigTest, parseInvalid) {
testInvalid("===\n", "property pair '===' has empty key");
}

TEST_F(ConfigTest, optionalNodeId) {
NodeConfig config;
auto nodeId = config.nodeId();
// Same value must be returned.
EXPECT_EQ(nodeId, config.nodeId());
EXPECT_EQ(nodeId, config.nodeId());
}

} // namespace facebook::presto::test
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ add_executable(
presto_server_test
AnnouncerTest.cpp
CoordinatorDiscovererTest.cpp
ConfigsTest.cpp
HttpServerWrapper.cpp
MutableConfigs.cpp
PeriodicMemoryCheckerTest.cpp
Expand Down
31 changes: 0 additions & 31 deletions presto-native-execution/presto_cpp/main/tests/ConfigsTest.cpp

This file was deleted.

0 comments on commit 98e941f

Please sign in to comment.