This is an automated email from the ASF dual-hosted git repository.
zuston pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-uniffle.git
The following commit(s) were added to refs/heads/master by this push:
new 663586e1d fix(rust): Make the test with 1 thread to eliminate flaky
test (#2236)
663586e1d is described below
commit 663586e1d94c08fc1de39e3de50641fc407d4616
Author: Junfan Zhang <[email protected]>
AuthorDate: Tue Nov 5 11:19:50 2024 +0800
fix(rust): Make the test with 1 thread to eliminate flaky test (#2236)
### What changes were proposed in this pull request?
Make the test with 1 thread to eliminate flaky test
### Why are the changes needed?
Currently the rust test cases are not stable
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
Needn't
---
.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' }}