Skip to content

Commit 1d1551d

Browse files
committed
Limit test threads to 1
Signed-off-by: Alexander Rodin <rodin.alexander@gmail.com>
1 parent 169d34e commit 1d1551d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.circleci/config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ jobs:
125125
PATH="$HOME/.cargo/bin:/c/Strawberry/perl/bin:/c/Program Files/CMake/bin:$PATH"
126126
FEATURES="leveldb leveldb/leveldb-sys-3 rdkafka rdkafka/cmake_build"
127127
rm rust-toolchain
128-
cargo test --no-default-features --features "$FEATURES"
128+
cargo test --no-default-features --features "$FEATURES" -- --test-threads=1
129129
130130
test-stable:
131131
resource_class: xlarge

tests/buffering.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ fn test_buffering() {
7777

7878
std::thread::sleep(std::time::Duration::from_millis(100));
7979

80-
block_on(topology.stop()).unwrap();
80+
rt.block_on(topology.stop()).unwrap();
8181

8282
shutdown_on_idle(rt);
8383

0 commit comments

Comments
 (0)