-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6622 from chu11/issue6608_kvs_dropcache_remove
kvs: remove dropcache
- Loading branch information
Showing
11 changed files
with
37 additions
and
200 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,34 @@ | ||
#!/bin/sh -e | ||
# dropcache, do a put that misses a references, unlink a dir, the reference | ||
# should not be missing. | ||
# | ||
# N.B. the reason this test is split across two flux starts is we need the | ||
# internal KVS cache to be empty | ||
|
||
TEST=issue1760 | ||
${FLUX_BUILD_DIR}/t/kvs/issue1760 a | ||
cat <<-EOF >t1760setup.sh | ||
#!/bin/sh -e | ||
flux kvs mkdir foo | ||
EOF | ||
|
||
cat <<-EOF >t1760test.sh | ||
#!/bin/sh -e | ||
${FLUX_BUILD_DIR}/t/kvs/issue1760 foo | ||
EOF | ||
|
||
chmod +x t1760setup.sh | ||
chmod +x t1760test.sh | ||
|
||
STATEDIR=issue1760-statedir | ||
mkdir issue1760-statedir | ||
|
||
flux start -s 1 \ | ||
--setattr=statedir=${STATEDIR} \ | ||
./t1760setup.sh | ||
|
||
flux start -s 1 \ | ||
--setattr=statedir=${STATEDIR} \ | ||
./t1760test.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters