mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-08-12 16:55:31 -04:00
bazel tidy
This commit is contained in:
parent
3f51297db5
commit
5bcd295921
81 changed files with 430 additions and 429 deletions
|
@ -107,7 +107,7 @@ func TestUpload(t *testing.T) {
|
|||
distributionID: "test-distribution-id",
|
||||
cacheInvalidationStrategy: tc.cacheInvalidationStrategy,
|
||||
cacheInvalidationWaitTimeout: tc.cacheInvalidationWaitTimeout,
|
||||
logger: slog.New(slog.NewTextHandler(logger.TestWriter{T: t}, nil)),
|
||||
logger: slog.New(slog.NewTextHandler(logger.TestWriter{T: t}, nil)),
|
||||
}
|
||||
_, err := client.Upload(context.Background(), tc.in)
|
||||
|
||||
|
@ -219,7 +219,7 @@ func TestDeleteObject(t *testing.T) {
|
|||
distributionID: "test-distribution-id",
|
||||
cacheInvalidationStrategy: tc.cacheInvalidationStrategy,
|
||||
cacheInvalidationWaitTimeout: tc.cacheInvalidationWaitTimeout,
|
||||
logger: slog.New(slog.NewTextHandler(logger.TestWriter{T: t}, nil)),
|
||||
logger: slog.New(slog.NewTextHandler(logger.TestWriter{T: t}, nil)),
|
||||
}
|
||||
_, err := client.DeleteObject(context.Background(), newObjectInput(tc.nilInput, tc.nilKey))
|
||||
|
||||
|
@ -258,7 +258,7 @@ func TestDeleteObject(t *testing.T) {
|
|||
distributionID: "test-distribution-id",
|
||||
cacheInvalidationStrategy: tc.cacheInvalidationStrategy,
|
||||
cacheInvalidationWaitTimeout: tc.cacheInvalidationWaitTimeout,
|
||||
logger: slog.New(slog.NewTextHandler(logger.TestWriter{T: t}, nil)),
|
||||
logger: slog.New(slog.NewTextHandler(logger.TestWriter{T: t}, nil)),
|
||||
}
|
||||
_, err := client.DeleteObjects(context.Background(), newObjectsInput(tc.nilInput, tc.nilKey))
|
||||
|
||||
|
@ -400,7 +400,7 @@ func TestFlush(t *testing.T) {
|
|||
cacheInvalidationWaitTimeout: tc.cacheInvalidationWaitTimeout,
|
||||
dirtyKeys: tc.dirtyKeys,
|
||||
invalidationIDs: tc.invalidationIDs,
|
||||
logger: slog.New(slog.NewTextHandler(logger.TestWriter{T: t}, nil)),
|
||||
logger: slog.New(slog.NewTextHandler(logger.TestWriter{T: t}, nil)),
|
||||
}
|
||||
err := client.Flush(context.Background())
|
||||
|
||||
|
@ -438,7 +438,7 @@ func TestConcurrency(t *testing.T) {
|
|||
uploadClient: uploadClient,
|
||||
distributionID: "test-distribution-id",
|
||||
cacheInvalidationWaitTimeout: 50 * time.Millisecond,
|
||||
logger: slog.New(slog.NewTextHandler(logger.TestWriter{T: t}, nil)),
|
||||
logger: slog.New(slog.NewTextHandler(logger.TestWriter{T: t}, nil)),
|
||||
}
|
||||
|
||||
var wg sync.WaitGroup
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue