From 856504b7689b45c5c34f83f8476bf11274caa53e Mon Sep 17 00:00:00 2001 From: PHILO-HE Date: Mon, 9 Sep 2024 17:12:02 +0800 Subject: [PATCH] [VL] Fix weekly build job failure (#7163) --- cpp/velox/tests/VeloxShuffleWriterTest.cc | 4 ++-- dev/package.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cpp/velox/tests/VeloxShuffleWriterTest.cc b/cpp/velox/tests/VeloxShuffleWriterTest.cc index d8b2fb72fdd2..ddcc30ff1ce9 100644 --- a/cpp/velox/tests/VeloxShuffleWriterTest.cc +++ b/cpp/velox/tests/VeloxShuffleWriterTest.cc @@ -607,7 +607,7 @@ TEST_F(VeloxHashShuffleWriterMemoryTest, kStop) { // Reclaim bytes to shrink partition buffer. int64_t reclaimed = 0; ASSERT_NOT_OK(shuffleWriter->reclaimFixedSize(2000, &reclaimed)); - ASSERT(reclaimed >= 2000); + ASSERT_TRUE(reclaimed >= 2000); // Trigger spill during stop. ASSERT_TRUE(pool.checkEvict(pool.bytes_allocated(), [&] { ASSERT_NOT_OK(shuffleWriter->stop()); })); @@ -630,7 +630,7 @@ TEST_F(VeloxHashShuffleWriterMemoryTest, kStopComplex) { // Reclaim bytes to shrink partition buffer. int64_t reclaimed = 0; ASSERT_NOT_OK(shuffleWriter->reclaimFixedSize(2000, &reclaimed)); - ASSERT(reclaimed >= 2000); + ASSERT_TRUE(reclaimed >= 2000); // Reclaim from PartitionWriter to free cached bytes. auto payloadSize = shuffleWriter->cachedPayloadSize(); diff --git a/dev/package.sh b/dev/package.sh index a26f94d9b6b8..8f2150291a18 100755 --- a/dev/package.sh +++ b/dev/package.sh @@ -12,7 +12,7 @@ cd "$GLUTEN_DIR" # build gluten with velox backend, prompt always respond y export PROMPT_ALWAYS_RESPOND=y -./dev/buildbundle-veloxbe.sh --build_tests=ON --build_benchmarks=ON --enable_s3=ON --enable_hdfs=ON "$@" +./dev/buildbundle-veloxbe.sh --enable_vcpkg=OFF --build_tests=ON --build_benchmarks=ON --enable_s3=ON --enable_hdfs=ON "$@" # make thirdparty package ./dev/build-thirdparty.sh