Skip to content

Commit

Permalink
multi kind test 6
Browse files Browse the repository at this point in the history
  • Loading branch information
bartam1 committed Jul 25, 2023
1 parent 0c5b566 commit f655a7d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/e2e-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ jobs:
- name: run tests
env:
KUBECONFIG: ${{ steps.setup-kind.outputs.kubeconfig }}
TEST_STRATEGY: complete

run: |
go work init
go work use -r .
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/koperator_suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func beforeSuite() (tests.TestPool, error) {
}

//classifier := MockTests()
classifier := tests.NewClassifier(k8sClusterPool, testCaseInstall, testCaseInstall, testCaseInstall)
classifier := tests.NewClassifier(k8sClusterPool, testCaseInstall)

var testPool tests.TestPool
testStrategy := viper.GetString(config.Tests.TestStrategy)
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/pkg/tests/tests.go
Original file line number Diff line number Diff line change
Expand Up @@ -478,5 +478,5 @@ func (c K8sCluster) String() string {
}
// return fmt.Sprintf("Provider: %s Version: %s KubeContextPath: %s KubeContext: %s",
// c.clusterInfo.provider, c.clusterInfo.version, c.kubectlOptions.ConfigPath, c.kubectlOptions.ContextName)
return fmt.Sprintf(c.clusterInfo.clusterID)
return fmt.Sprintf(c.kubectlOptions.ContextName)
}
4 changes: 2 additions & 2 deletions tests/e2e/test_install.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ import (
)

var testCaseInstall = tests.TestCase{
TestDuration: 10 * time.Minute,
TestName: "Testing e2e test altogether",
TestDuration: 7 * time.Minute,
TestName: "Install TestCase",
TestFn: testInstall,
}

Expand Down

0 comments on commit f655a7d

Please sign in to comment.