Skip to content

Commit 6685ed9

Browse files
authored
disable usage report in CI (#1784)
1 parent 6349801 commit 6685ed9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

cmd/integration_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ func startGateway(t *testing.T) {
4545
ResetHttp()
4646

4747
go func() {
48-
if err := Main([]string{"", "gateway", gatewayMeta, gatewayAddr, "--multi-buckets", "--keep-etag"}); err != nil {
48+
if err := Main([]string{"", "gateway", gatewayMeta, gatewayAddr, "--multi-buckets", "--keep-etag", "--no-usage-report"}); err != nil {
4949
t.Errorf("gateway failed: %s", err)
5050
}
5151
}()
@@ -65,7 +65,7 @@ func startWebdav(t *testing.T) {
6565
ResetHttp()
6666

6767
go func() {
68-
if err := Main([]string{"", "webdav", webdavMeta, webdavAddr}); err != nil {
68+
if err := Main([]string{"", "webdav", webdavMeta, webdavAddr, "--no-usage-report"}); err != nil {
6969
t.Errorf("gateway failed: %s", err)
7070
}
7171
}()

cmd/mount_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ func mountTemp(t *testing.T, bucket *string) {
106106
ResetHttp()
107107

108108
go func() {
109-
if err := Main([]string{"", "mount", "--enable-xattr", testMeta, testMountPoint}); err != nil {
109+
if err := Main([]string{"", "mount", "--enable-xattr", testMeta, testMountPoint, "--no-usage-report"}); err != nil {
110110
t.Errorf("mount failed: %s", err)
111111
}
112112
}()

0 commit comments

Comments
 (0)