Skip to content

Commit 8892ff3

Browse files
committed
Update run.sh
Signed-off-by: Victor Chang <[email protected]>
1 parent 4a33a28 commit 8892ff3

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

tests/Integration.Test/Common/MinioDataSink.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,9 @@ internal void CleanBucketAsync()
8585
.WithObject(item.Key);
8686
await minioClient.RemoveObjectAsync(deletObjectsArgs).ConfigureAwait(false);
8787
count++;
88-
});
89-
88+
},
89+
ex => Console.WriteLine($"Error listing objects: {ex}"),
90+
() => Console.WriteLine($"Listed all objects in bucket {_options.Storage.StorageServiceBucketName}\n"));
9091
stopwatch.Stop();
9192
_outputHelper.WriteLine($"Cleaned up {0} objects from Minio in {1}s...", count, stopwatch.Elapsed.TotalSeconds);
9293
}

tests/Integration.Test/run.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,10 +151,12 @@ function save_logs() {
151151
}
152152

153153
function tear_down() {
154+
set +e
154155
pushd $DOCKER_COMPOSE_DIR
155156
info "Stopping services..."
156157
docker compose down --remove-orphans
157158
popd
159+
set -e
158160
}
159161

160162
function main() {

0 commit comments

Comments
 (0)