Skip to content

Commit

Permalink
fix: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
kingwingfly committed Jul 25, 2024
1 parent a2cded5 commit 72b873e
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 12 deletions.
10 changes: 5 additions & 5 deletions .github/scripts/concurrent_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 6 additions & 6 deletions .github/scripts/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
3 changes: 2 additions & 1 deletion encrypt-config/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 -->
## About The Project
Expand Down

0 comments on commit 72b873e

Please sign in to comment.