Skip to content

Commit

Permalink
fixing namespace names and log statements
Browse files Browse the repository at this point in the history
  • Loading branch information
Paramadon committed Jul 24, 2024
1 parent f6e59a7 commit 0b9d9a5
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ func TestAllLanguagesDaemonSet(t *testing.T) {
panic(err)
}
randomNumber.Add(randomNumber, big.NewInt(1000)) //adding a hash to namespace
uniqueNamespace := fmt.Sprintf("daemonset-namespace-java-python-%d", randomNumber)
uniqueNamespace := fmt.Sprintf("daemonset-namespace-all-languages-%d", randomNumber)

annotationConfig := auto.AnnotationConfig{
Java: auto.AnnotationResources{
Expand Down Expand Up @@ -135,7 +135,7 @@ func TestDotNetOnlyDaemonSet(t *testing.T) {
panic(err)
}
randomNumber.Add(randomNumber, big.NewInt(1000)) //adding a hash to namespace
uniqueNamespace := fmt.Sprintf("daemonset-namespace-python-only-%d", randomNumber)
uniqueNamespace := fmt.Sprintf("daemonset-namespace-dotnet-only-%d", randomNumber)
annotationConfig := auto.AnnotationConfig{
DotNet: auto.AnnotationResources{
Namespaces: []string{""},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ func TestAllLanguagesDeployment(t *testing.T) {
panic(err)
}
randomNumber.Add(randomNumber, big.NewInt(1000)) //adding a hash to namespace
uniqueNamespace := fmt.Sprintf("deployment-namespace-java-python-%d", randomNumber)
uniqueNamespace := fmt.Sprintf("deployment-namespace-all-languages-%d", randomNumber)
annotationConfig := auto.AnnotationConfig{
Java: auto.AnnotationResources{
Namespaces: []string{""},
Expand Down Expand Up @@ -141,7 +141,7 @@ func TestDotNetOnlyDeployment(t *testing.T) {
panic(err)
}
randomNumber.Add(randomNumber, big.NewInt(1000)) //adding a hash to namespace
uniqueNamespace := fmt.Sprintf("deployment-namespace-python-only-%d", randomNumber)
uniqueNamespace := fmt.Sprintf("deployment-namespace-dotnet-only-%d", randomNumber)

annotationConfig := auto.AnnotationConfig{
DotNet: auto.AnnotationResources{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func TestAllLanguagesNamespace(t *testing.T) {
panic(err)
}
randomNumber.Add(randomNumber, big.NewInt(1000)) //adding a hash to namespace
uniqueNamespace := fmt.Sprintf("namespace-java-python-%d", randomNumber)
uniqueNamespace := fmt.Sprintf("namespace-all-languages-%d", randomNumber)

annotationConfig := auto.AnnotationConfig{
Java: auto.AnnotationResources{
Expand Down Expand Up @@ -151,7 +151,7 @@ func TestDotNetOnlyNamespace(t *testing.T) {
panic(err)
}
randomNumber.Add(randomNumber, big.NewInt(1000)) //adding a hash to namespace
uniqueNamespace := fmt.Sprintf("namespace-python-only-%d", randomNumber)
uniqueNamespace := fmt.Sprintf("namespace-dotnet-only-%d", randomNumber)
if err := createNamespace(clientSet, uniqueNamespace); err != nil {
t.Fatalf("Failed to create/apply resoures on namespace: %v", err)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ func TestAllLanguagesStatefulSet(t *testing.T) {
panic(err)
}
randomNumber.Add(randomNumber, big.NewInt(1000)) //adding a hash to namespace
uniqueNamespace := fmt.Sprintf("statefulset-namespace-java-python-%d", randomNumber)
uniqueNamespace := fmt.Sprintf("statefulset-namespace-all-languages-%d", randomNumber)
annotationConfig := auto.AnnotationConfig{
Java: auto.AnnotationResources{
Namespaces: []string{""},
Expand Down Expand Up @@ -133,7 +133,7 @@ func TestDotNetOnlyStatefulSet(t *testing.T) {
panic(err)
}
randomNumber.Add(randomNumber, big.NewInt(1000)) //adding a hash to namespace
uniqueNamespace := fmt.Sprintf("statefulset-namespace-python-only-%d", randomNumber)
uniqueNamespace := fmt.Sprintf("statefulset-namespace-dotnet-only-%d", randomNumber)
annotationConfig := auto.AnnotationConfig{
DotNet: auto.AnnotationResources{
Namespaces: []string{""},
Expand Down

0 comments on commit 0b9d9a5

Please sign in to comment.