1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00

Revert "CHORE: Refactor integration tests to support multiple tests"

This reverts commit fab3172fee.
This commit is contained in:
Tom Limoncelli
2024-02-08 16:40:19 -05:00
parent fab3172fee
commit f5bb6e658b

View File

@ -276,12 +276,8 @@ func makeChanges(t *testing.T, prv providers.DNSServiceProvider, dc *models.Doma
}
func runTests(t *testing.T, prv providers.DNSServiceProvider, domainName string, knownFailures map[int]bool, origConfig map[string]string) {
testGroups := makeTests(t)
runTestsHelper(t, prv, domainName, testGroups, origConfig)
}
func runTestsHelper(t *testing.T, prv providers.DNSServiceProvider, domainName string, testGroups []*TestGroup, origConfig map[string]string) {
dc := getDomainConfigWithNameservers(t, prv, domainName)
testGroups := makeTests(t)
firstGroup := *startIdx
if firstGroup == -1 {