Skip to content

Commit

Permalink
test(client/keys): deflake Test_runImportHexCmd by a unique directory…
Browse files Browse the repository at this point in the history
… per sub-test run (#17855)
  • Loading branch information
odeke-em authored Sep 25, 2023
1 parent 63d046d commit 1d4694e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/keys/import_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ func Test_runImportHexCmd(t *testing.T) {
mockIn := testutil.ApplyMockIODiscardOutErr(cmd)

// Now add a temporary keybase
kbHome := t.TempDir()
kbHome := filepath.Join(t.TempDir(), fmt.Sprintf("kbhome-%s", tc.name))
kb, err := keyring.New(sdk.KeyringServiceName(), tc.keyringBackend, kbHome, nil, cdc)
require.NoError(t, err)

Expand Down

0 comments on commit 1d4694e

Please sign in to comment.