Skip to content
This repository has been archived by the owner on Mar 16, 2024. It is now read-only.

Commit

Permalink
Integration test
Browse files Browse the repository at this point in the history
Signed-off-by: Bill Maxwell <[email protected]>
  • Loading branch information
cloudnautique committed Dec 5, 2023
1 parent 00d273c commit f4aade4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions integration/client/computeclass/computeclass_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ func TestCreatingComputeClasses(t *testing.T) {
memory adminv1.ComputeClassMemory
cpuScaler float64
priorityClassName string
runtimeClassName string
fail bool
}{
{
Expand Down Expand Up @@ -58,6 +59,11 @@ func TestCreatingComputeClasses(t *testing.T) {
priorityClassName: "system-cluster-critical",
fail: false,
},
{
name: "valid-only-runtime-class",
runtimeClassName: "alt-runtime",
fail: false,
},
{
name: "valid-values",
cpuScaler: 0.25,
Expand Down Expand Up @@ -151,6 +157,7 @@ func TestCreatingComputeClasses(t *testing.T) {
CPUScaler: tt.cpuScaler,
Memory: tt.memory,
PriorityClassName: tt.priorityClassName,
RuntimeClassName: tt.runtimeClassName,
}

// TODO - dry run
Expand Down

0 comments on commit f4aade4

Please sign in to comment.