Skip to content

Commit

Permalink
Fixing duplicate logging
Browse files Browse the repository at this point in the history
  • Loading branch information
aghodke1312 authored and Rohit-PX committed May 29, 2024
1 parent 06fb727 commit 1c8fb93
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
7 changes: 1 addition & 6 deletions test/integration_test/common_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import (
"sort"
"strconv"
"strings"
"sync"
"testing"
"time"

Expand Down Expand Up @@ -1936,11 +1935,7 @@ func TestMain(m *testing.M) {
1,
"Number of different kubevirt VMs deployed and validated in kubevirt tests")
flag.Parse()
var once sync.Once
once.Do(func() {
doDashboardSetup()
})

doDashboardSetup()
if err := setup(); err != nil {
log.Error("Setup failed with error: %v", err)
os.Exit(1)
Expand Down
1 change: 0 additions & 1 deletion test/integration_test/test-deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,6 @@ for i in $(seq 1 100) ; do
test_status=$(kubectl get pod stork-test -n kube-system -o json | jq ".status.phase" -r)
if [ "$test_status" = "Running" ]; then
echo "Test is still running, status: $test_status"
kubectl logs stork-test -n kube-system -f
else
sleep 5
break
Expand Down

0 comments on commit 1c8fb93

Please sign in to comment.