Skip to content

Commit 207edbc

Browse files
authored
Merge pull request #545 from hookdeck/v0.7.1
v0.8.0
2 parents 732545e + b8ba77f commit 207edbc

File tree

84 files changed

+5158
-423
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

84 files changed

+5158
-423
lines changed

.air.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ tmp_dir = "tmp"
55
cmd = "go build -o tmp/main cmd/outpost/main.go"
66
bin = "tmp/main"
77
delay = 100
8-
exclude_dir = ["examples", "dist", "docs", "website", "loadtest", "sdks", "internal/portal/node_modules", "internal/portal/src"]
8+
exclude_dir = ["examples", "dist", "docs", "website", "loadtest", "sdks", "spec-sdk-tests", "internal/portal/node_modules", "internal/portal/src"]
99
include_ext = ["go"]
1010
include_file = ["go.mod", "go.sum", ".env"]

cmd/e2e/alert_test.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ import (
55
"net/http"
66
"time"
77

8-
"github.com/google/uuid"
98
"github.com/hookdeck/outpost/cmd/e2e/httpclient"
9+
"github.com/hookdeck/outpost/internal/idgen"
1010
"github.com/stretchr/testify/assert"
1111
"github.com/stretchr/testify/require"
1212
)
1313

1414
func (suite *basicSuite) TestConsecutiveFailuresAlert() {
15-
tenantID := uuid.New().String()
16-
destinationID := uuid.New().String()
15+
tenantID := idgen.String()
16+
destinationID := idgen.Destination()
1717
secret := "testsecret1234567890abcdefghijklmnop"
1818

1919
tests := []APITest{
@@ -136,8 +136,8 @@ func (suite *basicSuite) TestConsecutiveFailuresAlert() {
136136
}
137137

138138
func (suite *basicSuite) TestConsecutiveFailuresAlertReset() {
139-
tenantID := uuid.New().String()
140-
destinationID := uuid.New().String()
139+
tenantID := idgen.String()
140+
destinationID := idgen.Destination()
141141
secret := "testsecret1234567890abcdefghijklmnop"
142142

143143
// Setup phase - same as before

0 commit comments

Comments
 (0)