[#9999] shard: Fix reload test
Some checks failed
DCO action / DCO (pull_request) Successful in 1m6s
Build / Build Components (1.22) (pull_request) Successful in 2m1s
Build / Build Components (1.21) (pull_request) Successful in 2m11s
Tests and linters / Staticcheck (pull_request) Failing after 2m21s
Vulncheck / Vulncheck (pull_request) Successful in 2m19s
Pre-commit hooks / Pre-commit (pull_request) Successful in 3m10s
Tests and linters / Tests with -race (pull_request) Failing after 4m32s
Tests and linters / Lint (pull_request) Successful in 5m50s
Tests and linters / Tests (1.22) (pull_request) Failing after 7m16s
Tests and linters / Tests (1.21) (pull_request) Failing after 7m18s
Tests and linters / gopls check (pull_request) Failing after 13m14s
Some checks failed
DCO action / DCO (pull_request) Successful in 1m6s
Build / Build Components (1.22) (pull_request) Successful in 2m1s
Build / Build Components (1.21) (pull_request) Successful in 2m11s
Tests and linters / Staticcheck (pull_request) Failing after 2m21s
Vulncheck / Vulncheck (pull_request) Successful in 2m19s
Pre-commit hooks / Pre-commit (pull_request) Successful in 3m10s
Tests and linters / Tests with -race (pull_request) Failing after 4m32s
Tests and linters / Lint (pull_request) Successful in 5m50s
Tests and linters / Tests (1.22) (pull_request) Failing after 7m16s
Tests and linters / Tests (1.21) (pull_request) Failing after 7m18s
Tests and linters / gopls check (pull_request) Failing after 13m14s
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
parent
fdd39af585
commit
3807285788
1 changed files with 1 additions and 0 deletions
|
@ -111,6 +111,7 @@ func TestShardReload(t *testing.T) {
|
|||
|
||||
t.Run("reload failed", func(t *testing.T) {
|
||||
badPath := filepath.Join(p, "meta3")
|
||||
require.NoError(t, os.RemoveAll(badPath))
|
||||
require.NoError(t, os.WriteFile(badPath, []byte{1}, 0))
|
||||
|
||||
newOpts = newShardOpts(badPath, true)
|
||||
|
|
Loading…
Reference in a new issue