Check deneb fork transition test folder is empty (#13626)

This commit is contained in:
terence 2024-02-15 14:08:06 -08:00 committed by GitHub
parent 05b2795844
commit 1ec745b88e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -31,6 +31,9 @@ func RunForkTransitionTest(t *testing.T, config string) {
require.NoError(t, utils.SetConfig(t, config))
testFolders, testsFolderPath := utils.TestFolders(t, config, "deneb", "transition/core/pyspec_tests")
if len(testFolders) == 0 {
t.Fatalf("No test folders found for %s/%s/%s", config, "deneb", "transition/core/pyspec_tests")
}
for _, folder := range testFolders {
t.Run(folder.Name(), func(t *testing.T) {
helpers.ClearCache()