Skip to content

Commit

Permalink
chore: log when the test server serves a database
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Rath committed Feb 27, 2025
1 parent 99df61c commit bd6eb81
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/testdb/cherrypick.go
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,8 @@ func NewZipDBCherryPickServer(ecosystems map[string][]string) *httptest.Server {
w.Header().Add("x-goog-hash", "crc32c="+base64.StdEncoding.EncodeToString(binary.BigEndian.AppendUint32([]byte{}, hash)))

_, _ = w.Write(b)

fmt.Printf("(test server) serving %s database\n", eco)
}))

return ts
Expand Down

0 comments on commit bd6eb81

Please sign in to comment.