From 58795cfe4bdfcb7ebd78c672b68280d19216df27 Mon Sep 17 00:00:00 2001 From: Arun Sharma Date: Wed, 27 May 2026 09:27:55 -0700 Subject: [PATCH] Skip nondeterministic count rel optimizer test on Windows --- test/optimizer/optimizer_test.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/optimizer/optimizer_test.cpp b/test/optimizer/optimizer_test.cpp index 2e2755d62..ce7a82417 100644 --- a/test/optimizer/optimizer_test.cpp +++ b/test/optimizer/optimizer_test.cpp @@ -236,6 +236,11 @@ TEST_F(OptimizerTest, SubqueryHint) { } TEST_F(OptimizerTest, CountRelTableOptimizer) { +#if defined(_WIN32) + GTEST_SKIP() << "Windows can pick the reverse physical extend orientation for degree-count " + "plans, so this plan-shape test is nondeterministic there."; +#endif + ASSERT_TRUE(conn->query("CREATE NODE TABLE opt_user(id INT64, PRIMARY KEY(id));")->isSuccess()); ASSERT_TRUE(conn->query("CREATE REL TABLE opt_follows(FROM opt_user TO opt_user, date DATE);") ->isSuccess());