Skip to content

long running branch tests #9239

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 11 commits into
base: main
Choose a base branch
from
5 changes: 5 additions & 0 deletions go/libraries/doltcore/sqle/enginetest/dolt_engine_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2104,6 +2104,11 @@ func TestDoltWorkspace(t *testing.T) {
RunDoltWorkspaceTests(t, harness)
}

func TestDoltLongLivedBranches(t *testing.T) {
harness := newDoltEnginetestHarness(t)
RundDoltLongLivedBranchTests(t, harness)
}

func TestDoltHelpSystemTable(t *testing.T) {
harness := newDoltHarness(t)
defer harness.Close()
Expand Down
10 changes: 10 additions & 0 deletions go/libraries/doltcore/sqle/enginetest/dolt_engine_tests.go
Original file line number Diff line number Diff line change
Expand Up @@ -1957,6 +1957,16 @@ func RunDoltWorkspaceTests(t *testing.T, h DoltEnginetestHarness) {
}
}

func RundDoltLongLivedBranchTests(t *testing.T, h DoltEnginetestHarness) {
for _, script := range DoltLongLivedBranchTests {
func() {
h = h.NewHarness(t)
defer h.Close()
enginetest.TestScript(t, h, script)
}()
}
}

func RunDoltHelpSystemTableTests(t *testing.T, harness DoltEnginetestHarness) {
dtables.DoltCommand = doltcmd.DoltCommand

Expand Down
Loading
Loading