Skip to content

Commit c3c5ba9

Browse files
cleanup
1 parent d321c8b commit c3c5ba9

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

pkg/runtime/runtime_test.go

+1-10
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ package runtime
1515

1616
import (
1717
"encoding/json"
18-
"os"
1918
"reflect"
2019
"strings"
2120
"testing"
@@ -28,22 +27,14 @@ import (
2827
"github.com/kro-run/kro/pkg/graph/variable"
2928
)
3029

31-
// Use testing-only budget for cost-sensitive tests
30+
// Using testing-only budget for cost-sensitive tests
3231
const testBudget = 10000000
3332

3433
// setupTestRuntime updates a runtime with a high cost budget for testing
3534
func setupTestRuntime(rt *ResourceGraphDefinitionRuntime) {
3635
rt.celCostBudget = testBudget
3736
}
3837

39-
func TestMain(m *testing.M) {
40-
// Run tests
41-
exitCode := m.Run()
42-
43-
// Exit with appropriate code
44-
os.Exit(exitCode)
45-
}
46-
4738
func Test_RuntimeWorkflow(t *testing.T) {
4839
// 1. Setup initial resources
4940
instance := newTestResource(

0 commit comments

Comments
 (0)