[#9999] shard: Fix reload test
Some checks failed
DCO action / DCO (pull_request) Successful in 1m21s
Tests and linters / Staticcheck (pull_request) Failing after 1m47s
Build / Build Components (1.21) (pull_request) Successful in 1m58s
Build / Build Components (1.22) (pull_request) Successful in 2m0s
Tests and linters / Lint (pull_request) Successful in 3m39s
Tests and linters / gopls check (pull_request) Failing after 3m52s
Pre-commit hooks / Pre-commit (pull_request) Successful in 4m29s
Tests and linters / Tests (1.22) (pull_request) Failing after 7m58s
Tests and linters / Tests (1.21) (pull_request) Failing after 7m59s
Tests and linters / Tests with -race (pull_request) Failing after 8m14s
Vulncheck / Vulncheck (pull_request) Failing after 12m2s
Some checks failed
DCO action / DCO (pull_request) Successful in 1m21s
Tests and linters / Staticcheck (pull_request) Failing after 1m47s
Build / Build Components (1.21) (pull_request) Successful in 1m58s
Build / Build Components (1.22) (pull_request) Successful in 2m0s
Tests and linters / Lint (pull_request) Successful in 3m39s
Tests and linters / gopls check (pull_request) Failing after 3m52s
Pre-commit hooks / Pre-commit (pull_request) Successful in 4m29s
Tests and linters / Tests (1.22) (pull_request) Failing after 7m58s
Tests and linters / Tests (1.21) (pull_request) Failing after 7m59s
Tests and linters / Tests with -race (pull_request) Failing after 8m14s
Vulncheck / Vulncheck (pull_request) Failing after 12m2s
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
parent
3e00dc304c
commit
2ca4d4ca6b
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