From 72b873edc8a7b03dc27fe6da01fe4f82935def82 Mon Sep 17 00:00:00 2001 From: Louis <836250617@qq.com> Date: Thu, 25 Jul 2024 23:15:13 +0800 Subject: [PATCH] fix: ci --- .github/scripts/concurrent_test.sh | 10 +++++----- .github/scripts/test.sh | 12 ++++++------ encrypt-config/README.md | 3 ++- 3 files changed, 13 insertions(+), 12 deletions(-) diff --git a/.github/scripts/concurrent_test.sh b/.github/scripts/concurrent_test.sh index e9d8364..233a90d 100755 --- a/.github/scripts/concurrent_test.sh +++ b/.github/scripts/concurrent_test.sh @@ -6,11 +6,11 @@ export TERM=xterm-256color # Statements waiting to be executed statements=( "LOOM_LOG=trace \ - LOOM_LOCATION=1 \ - LOOM_CHECKPOINT_INTERVAL=1 \ - LOOM_CHECKPOINT_FILE=loom.json \ - RUSTFLAGS=\"--cfg loom\" \ - cargo test --no-default-features --features derive --test concurrent_test --release" +LOOM_LOCATION=1 \ +LOOM_CHECKPOINT_INTERVAL=1 \ +LOOM_CHECKPOINT_FILE=loom.json \ +RUSTFLAGS=\"--cfg loom\" \ +cargo test --no-default-features --features derive --test concurrent_test --release" ) # loop echo and executing statements diff --git a/.github/scripts/test.sh b/.github/scripts/test.sh index cbd94c2..b204f28 100755 --- a/.github/scripts/test.sh +++ b/.github/scripts/test.sh @@ -17,12 +17,12 @@ statements=( "cargo test --no-default-features --features persist,secret,mock" "cargo test --no-default-features --features persist,secret,mock,default_config_dir" - # "LOOM_LOG=trace \ - # LOOM_LOCATION=1 \ - # LOOM_CHECKPOINT_INTERVAL=1 \ - # LOOM_CHECKPOINT_FILE=loom.json \ - # RUSTFLAGS=\"--cfg loom\" \ - # cargo test --no-default-features --features derive --test concurrent_test --release" +# "LOOM_LOG=trace \ +# LOOM_LOCATION=1 \ +# LOOM_CHECKPOINT_INTERVAL=1 \ +# LOOM_CHECKPOINT_FILE=loom.json \ +# RUSTFLAGS=\"--cfg loom\" \ +# cargo test --no-default-features --features derive --test concurrent_test --release" "cargo run --example example --no-default-features --features full,mock" "cargo run --example example --no-default-features --features full,mock,default_config_dir" diff --git a/encrypt-config/README.md b/encrypt-config/README.md index b0791e9..4c5f81a 100644 --- a/encrypt-config/README.md +++ b/encrypt-config/README.md @@ -72,7 +72,8 @@ opt-level = 3 ``` **Caution: This Version is still not safe to use!!!** -**The bug is: multiple loads from disk may be performed if cache missed** + +**The bug is: multiple loads from disk may be performed if cache missed if multiple threads** ## About The Project