You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uniffle.apache.org by zu...@apache.org on 2024/11/05 02:29:45 UTC
(incubator-uniffle) 01/01: fix(rust): Make the test with 1 thread to eliminate flaky test
This is an automated email from the ASF dual-hosted git repository.
zuston pushed a commit to branch zuston-patch-2
in repository https://gitbox.apache.org/repos/asf/incubator-uniffle.git
commit 8b02ccf9dc5dc53e88db4953931321d295451d22
Author: Junfan Zhang <zu...@apache.org>
AuthorDate: Tue Nov 5 10:29:36 2024 +0800
fix(rust): Make the test with 1 thread to eliminate flaky test
---
.github/workflows/rust.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml
index ba19555a8..17e06b3d8 100644
--- a/.github/workflows/rust.yml
+++ b/.github/workflows/rust.yml
@@ -62,9 +62,9 @@ jobs:
if: ${{ matrix.features == '' }}
- name: Run tests
working-directory: ./rust/experimental/server
- run: cargo test --verbose
+ run: cargo test --verbose -- --test-threads=1
if: ${{ matrix.features == '' }}
- name: Run tests with memory-prof
working-directory: ./rust/experimental/server
- run: cargo test --verbose --features memory-prof
+ run: cargo test --verbose --features memory-prof -- --test-threads=1
if: ${{ matrix.features == 'memory-prof' }}