Skip to content

Commit

Permalink
Revert "To see if this test failure is a race condition"
Browse files Browse the repository at this point in the history
This reverts commit 16c4ef7.
  • Loading branch information
skarekrow committed Nov 15, 2024
1 parent 16c4ef7 commit d130cfa
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions internal/api/tests/public/middleware_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import (
"io/ioutil"
"net/http"
"playbook-dispatcher/internal/common/utils/test"
"time"

. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
Expand All @@ -18,8 +17,6 @@ var _ = Describe("Middleware", func() {

It("attaches request id to the response", func() {
const requestId = "33ee136c-da81-4a68-953c-c22bdd096d30"
// For schmits and giggles to see if it's a race condition
time.Sleep(2 * time.Second)

req, err := http.NewRequest(http.MethodGet, "http://localhost:9002/api/playbook-dispatcher/v1/runs", nil)
Expect(err).ToNot(HaveOccurred())
Expand Down

0 comments on commit d130cfa

Please sign in to comment.