Skip to content

Commit

Permalink
Merge pull request #1000 from Fenny/master
Browse files Browse the repository at this point in the history
🍌 increase sleep for workflow
  • Loading branch information
Fenny authored Nov 6, 2020
2 parents 6c165f9 + 0483406 commit 9f77e38
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import (
)

// Version of current fiber package
const Version = "2.1.3"
const Version = "2.1.4"

// Handler defines a function to serve HTTP requests.
type Handler = func(*Ctx) error
Expand Down
2 changes: 1 addition & 1 deletion middleware/cache/cache_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func Test_Cache_Expired(t *testing.T) {
utils.AssertEqual(t, nil, err)

// Sleep until the cache is expired
time.Sleep(expiration)
time.Sleep(2 * time.Second)

respCached, err := app.Test(httptest.NewRequest("GET", "/", nil))
utils.AssertEqual(t, nil, err)
Expand Down

0 comments on commit 9f77e38

Please sign in to comment.