Skip to content

Commit 812b6d8

Browse files
committed
change test collections to avoid overwriting data
1 parent b911172 commit 812b6d8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/reader.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ mod tests {
251251
let config = ReaderConfig {
252252
hostname: "localhost",
253253
port: None,
254-
database: "transitdb",
254+
database: "mycollection",
255255
collection: "delays_",
256256
};
257257
let mut reader = Reader::try_new(&config, schema)?;

src/writer.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -319,14 +319,14 @@ mod tests {
319319
let reader_config = ReaderConfig {
320320
hostname: "localhost",
321321
port: None,
322-
database: "transitdb",
322+
database: "mycollection",
323323
collection: "delays_",
324324
};
325325
let mut reader = Reader::try_new(&reader_config, schema.clone())?;
326326
let writer_config = WriterConfig {
327327
hostname: "localhost",
328328
port: None,
329-
database: "transitdb",
329+
database: "mycollection",
330330
collection: "delays_2",
331331
write_mode: WriteMode::Overwrite,
332332
coerce_types: true,

0 commit comments

Comments
 (0)