Skip to content

Commit 25874a1

Browse files
authored
Remove '-tags "integration"' from build (#8383)
This was used to gate support for FAKECLOCK, which is now removed. Note this is distinct from `go test -tags integration`. Followup to #8356
1 parent 3250145 commit 25874a1

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

test/integration/pausing_test.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,10 @@ func TestIdentifiersPausedForAccount(t *testing.T) {
4545
},
4646
tlsConf,
4747
metrics.NoopRegisterer,
48-
clock.NewFake(),
48+
// We're calling the integration test SA, which uses a real clock.
49+
// We need to use a real clock here too, or the SA will reject the
50+
// request as having the wrong time attached.
51+
clock.New(),
4952
)
5053
cmd.FailOnError(err, "Failed to load credentials and create gRPC connection to SA")
5154
saClient := sapb.NewStorageAuthorityClient(saConn)

test/startservers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ def install(race_detection, coverage=False):
185185
# Pass empty BUILD_TIME and BUILD_ID flags to avoid constantly invalidating the
186186
# build cache with new BUILD_TIMEs, or invalidating it on merges with a new
187187
# BUILD_ID.
188-
go_build_flags='-tags "integration"'
188+
go_build_flags=''
189189
if race_detection:
190190
go_build_flags += ' -race'
191191

0 commit comments

Comments
 (0)