From 108db5281fa5a8a88e279de81c12f97c00d85548 Mon Sep 17 00:00:00 2001 From: Neil Macneale IV Date: Wed, 24 Jul 2024 13:57:35 -0700 Subject: [PATCH] Do a query on the GCed data after shallow-clone --- integration-tests/bats/shallow-clone.bats | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/integration-tests/bats/shallow-clone.bats b/integration-tests/bats/shallow-clone.bats index d93a3bdcfd9..a02d9192830 100644 --- a/integration-tests/bats/shallow-clone.bats +++ b/integration-tests/bats/shallow-clone.bats @@ -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