File tree 1 file changed +1
-10
lines changed
1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ package runtime
15
15
16
16
import (
17
17
"encoding/json"
18
- "os"
19
18
"reflect"
20
19
"strings"
21
20
"testing"
@@ -28,22 +27,14 @@ import (
28
27
"github.com/kro-run/kro/pkg/graph/variable"
29
28
)
30
29
31
- // Use testing-only budget for cost-sensitive tests
30
+ // Using testing-only budget for cost-sensitive tests
32
31
const testBudget = 10000000
33
32
34
33
// setupTestRuntime updates a runtime with a high cost budget for testing
35
34
func setupTestRuntime (rt * ResourceGraphDefinitionRuntime ) {
36
35
rt .celCostBudget = testBudget
37
36
}
38
37
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
-
47
38
func Test_RuntimeWorkflow (t * testing.T ) {
48
39
// 1. Setup initial resources
49
40
instance := newTestResource (
You can’t perform that action at this time.
0 commit comments