Another test fix

Signed-off-by: Derek Collison <derek@nats.io>
This commit is contained in:
Derek Collison
2021-05-06 15:18:44 -07:00
committed by Ivan Kozlovic
parent 50d5875aa3
commit 2002ea1ee5

View File

@@ -5254,7 +5254,7 @@ func TestJetStreamClusterMultiRestartBug(t *testing.T) {
c.waitOnStreamCurrent(s, "$G", "TEST")
snaps, err := ioutil.ReadDir(path.Join(opts.StoreDir, "$SYS", "_js_", "_meta_", "snapshots"))
snaps, err := ioutil.ReadDir(path.Join(opts.StoreDir, JetStreamStoreDir, "$SYS", "_js_", "_meta_", "snapshots"))
if err != nil {
t.Fatalf("Unexpected error: %v", err)
}