Skip to content

Commit b07fd22

Browse files
authored
chore(test): Table for write append should also be modeled with timestamp (#845)
Discovered while performing testing for #818 in cloudquery/cloudquery#10557
1 parent 301152b commit b07fd22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/destination/plugin_testing_write_append.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ func (s *PluginTestSuite) destinationPluginTestWriteAppend(ctx context.Context,
1818
if err := p.Init(ctx, logger, spec); err != nil {
1919
return fmt.Errorf("failed to init plugin: %w", err)
2020
}
21-
tableName := spec.Name
21+
tableName := fmt.Sprintf("cq_%s_%d", spec.Name, time.Now().Unix())
2222
table := testdata.TestTable(tableName).ToArrowSchema()
2323
syncTime := time.Now().UTC().Round(1 * time.Second)
2424
tables := []*arrow.Schema{

0 commit comments

Comments
 (0)