Skip to content

Commit

Permalink
Do a query on the GCed data after shallow-clone
Browse files Browse the repository at this point in the history
  • Loading branch information
macneale4 committed Jul 24, 2024
1 parent b07e23c commit 108db52
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions integration-tests/bats/shallow-clone.bats
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,11 @@ seed_and_start_serial_remote() {

cd test-repo
dolt gc

# Verify that the table is complete.
run dolt sql -q "select sum(i) from vals"
[ "$status" -eq 0 ]
[[ "$output" =~ "15" ]] || false # 1+2+3+4+5 = 15.
}
@test "shallow-clone: push to a new remote should error" {
seed_and_start_serial_remote
Expand Down

0 comments on commit 108db52

Please sign in to comment.