Skip to content

Commit

Permalink
Do not timestamp integration output files
Browse files Browse the repository at this point in the history
  • Loading branch information
jsliacan authored and praveenkumar committed Mar 18, 2021
1 parent 84f47f4 commit 9868197
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions test/integration/testsuite_test.go
Expand Up @@ -2,12 +2,10 @@ package test_test

import (
"encoding/json"
"fmt"
"os"
"os/user"
"path/filepath"
"testing"
"time"

. "github.com/onsi/ginkgo"
"github.com/onsi/ginkgo/reporters"
Expand All @@ -33,10 +31,9 @@ func TestTest(t *testing.T) {

RegisterFailHandler(Fail)

junitfile := fmt.Sprintf("integration_%s.xml", time.Now().Format("20060102150405"))
junitReporter := reporters.NewJUnitReporter(filepath.Join("out", junitfile))
junitReporter := reporters.NewJUnitReporter(filepath.Join("out", "integration.xml"))
RunSpecsWithDefaultAndCustomReporters(t, "Test Suite", []Reporter{junitReporter})
// RunSpecs(t, "Test Suite")

}

var _ = BeforeSuite(func() {
Expand Down

0 comments on commit 9868197

Please sign in to comment.