From 1ec745b88e7a148d27d25a4d49709759ce50c250 Mon Sep 17 00:00:00 2001 From: terence Date: Thu, 15 Feb 2024 14:08:06 -0800 Subject: [PATCH] Check deneb fork transition test folder is empty (#13626) --- testing/spectest/shared/deneb/fork/transition.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/testing/spectest/shared/deneb/fork/transition.go b/testing/spectest/shared/deneb/fork/transition.go index 5946041f5..e6554b159 100644 --- a/testing/spectest/shared/deneb/fork/transition.go +++ b/testing/spectest/shared/deneb/fork/transition.go @@ -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()