Skip to content

Commit 1976abe

Browse files
committed
improve GCS_DEBUG logging, debug CI/CD TestIntegrationGCS
Signed-off-by: Slach <bloodjazman@gmail.com>
1 parent 44d669c commit 1976abe

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pkg/storage/gcs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ func (w debugGCSTransport) RoundTrip(r *http.Request) (*http.Response, error) {
5454
log.Error().Msgf("GCS_ERROR: %v", err)
5555
return resp, err
5656
}
57-
logMsg = fmt.Sprintf("<<< [GCS_RESPONSE] <<< %v %v\n", r.Method, r.URL.String())
57+
logMsg = fmt.Sprintf("<<< [GCS_RESPONSE: %s] <<< %v %v\n", resp.Status, r.Method, r.URL.String())
5858
for h, values := range resp.Header {
5959
for _, v := range values {
6060
logMsg += fmt.Sprintf("%v: %v\n", h, v)

test/integration/integration_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3523,7 +3523,7 @@ func (env *TestEnvironment) queryWithNoError(r *require.Assertions, query string
35233523
r.NoError(err)
35243524
}
35253525

3526-
var dockerExecTimeout = 600 * time.Second
3526+
var dockerExecTimeout = 900 * time.Second
35273527

35283528
func (env *TestEnvironment) DockerExecBackgroundNoError(r *require.Assertions, container string, cmd ...string) {
35293529
out, err := env.DockerExecBackgroundOut(container, cmd...)

0 commit comments

Comments
 (0)