@@ -51,7 +51,7 @@ fn s3_address() -> String {
51
51
52
52
#[ tokio:: test]
53
53
async fn s3_insert_message_into_with_flat_key_prefix ( ) {
54
- let cx = SinkContext :: new_test ( ) ;
54
+ let cx = SinkContext :: default ( ) ;
55
55
56
56
let bucket = uuid:: Uuid :: new_v4 ( ) . to_string ( ) ;
57
57
@@ -85,7 +85,7 @@ async fn s3_insert_message_into_with_flat_key_prefix() {
85
85
86
86
#[ tokio:: test]
87
87
async fn s3_insert_message_into_with_folder_key_prefix ( ) {
88
- let cx = SinkContext :: new_test ( ) ;
88
+ let cx = SinkContext :: default ( ) ;
89
89
90
90
let bucket = uuid:: Uuid :: new_v4 ( ) . to_string ( ) ;
91
91
@@ -119,7 +119,7 @@ async fn s3_insert_message_into_with_folder_key_prefix() {
119
119
120
120
#[ tokio:: test]
121
121
async fn s3_insert_message_into_with_ssekms_key_id ( ) {
122
- let cx = SinkContext :: new_test ( ) ;
122
+ let cx = SinkContext :: default ( ) ;
123
123
124
124
let bucket = uuid:: Uuid :: new_v4 ( ) . to_string ( ) ;
125
125
@@ -156,7 +156,7 @@ async fn s3_insert_message_into_with_ssekms_key_id() {
156
156
157
157
#[ tokio:: test]
158
158
async fn s3_rotate_files_after_the_buffer_size_is_reached ( ) {
159
- let cx = SinkContext :: new_test ( ) ;
159
+ let cx = SinkContext :: default ( ) ;
160
160
161
161
let bucket = uuid:: Uuid :: new_v4 ( ) . to_string ( ) ;
162
162
@@ -213,7 +213,7 @@ async fn s3_gzip() {
213
213
// to 1000, and using gzip compression. We test to ensure that all of the keys we end up
214
214
// writing represent the sum total of the lines: we expect 3 batches, each of which should
215
215
// have 1000 lines.
216
- let cx = SinkContext :: new_test ( ) ;
216
+ let cx = SinkContext :: default ( ) ;
217
217
218
218
let bucket = uuid:: Uuid :: new_v4 ( ) . to_string ( ) ;
219
219
@@ -258,7 +258,7 @@ async fn s3_zstd() {
258
258
// to 1000, and using zstd compression. We test to ensure that all of the keys we end up
259
259
// writing represent the sum total of the lines: we expect 3 batches, each of which should
260
260
// have 1000 lines.
261
- let cx = SinkContext :: new_test ( ) ;
261
+ let cx = SinkContext :: default ( ) ;
262
262
263
263
let bucket = uuid:: Uuid :: new_v4 ( ) . to_string ( ) ;
264
264
@@ -303,7 +303,7 @@ async fn s3_zstd() {
303
303
// https://github.com/localstack/localstack/issues/4166
304
304
#[ tokio:: test]
305
305
async fn s3_insert_message_into_object_lock ( ) {
306
- let cx = SinkContext :: new_test ( ) ;
306
+ let cx = SinkContext :: default ( ) ;
307
307
308
308
let bucket = uuid:: Uuid :: new_v4 ( ) . to_string ( ) ;
309
309
@@ -357,7 +357,7 @@ async fn s3_insert_message_into_object_lock() {
357
357
358
358
#[ tokio:: test]
359
359
async fn acknowledges_failures ( ) {
360
- let cx = SinkContext :: new_test ( ) ;
360
+ let cx = SinkContext :: default ( ) ;
361
361
362
362
let bucket = uuid:: Uuid :: new_v4 ( ) . to_string ( ) ;
363
363
@@ -408,7 +408,7 @@ async fn s3_healthchecks_invalid_bucket() {
408
408
409
409
#[ tokio:: test]
410
410
async fn s3_flush_on_exhaustion ( ) {
411
- let cx = SinkContext :: new_test ( ) ;
411
+ let cx = SinkContext :: default ( ) ;
412
412
413
413
let bucket = uuid:: Uuid :: new_v4 ( ) . to_string ( ) ;
414
414
create_bucket ( & bucket, false ) . await ;
0 commit comments