Skip to content

Commit

Permalink
roachtest: roachprod: Remove check for Pebble CURRENT file in favour
Browse files Browse the repository at this point in the history
of marker.* files

Epic: none
Fixes: #95170

Release note: None
  • Loading branch information
Miral Gadani committed Apr 17, 2023
1 parent 3bd1d6e commit 9960672
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ func InstallFixtures(
}
}
// Extract fixture. Fail if there's already an LSM in the store dir.
c.Run(ctx, nodes, "cd {store-dir} && [ ! -f {store-dir}/CURRENT ] && tar -xf fixture.tgz")
c.Run(ctx, nodes, "ls {store-dir}/marker.* 1> /dev/null 2>&1 && exit 1 || (cd {store-dir} && tar -xf fixture.tgz)")
return nil
}

Expand Down
2 changes: 1 addition & 1 deletion pkg/roachprod/install/cluster_synced.go
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,7 @@ func (c *SyncedCluster) Monitor(

snippet := `
{{ if .IgnoreEmpty }}
if [ ! -f "{{.Store}}/CURRENT" ]; then
if ! ls {{.Store}}/marker.* 1> /dev/null 2>&1; then
echo "skipped"
exit 0
fi
Expand Down

0 comments on commit 9960672

Please sign in to comment.