Skip to content

Commit d0ac128

Browse files
committed
feat(tests): normalize createdAt timestamps in VCR cassettes
Replace all createdAt timestamps (YYYY-MM-DD HH:MM) with a canonical placeholder (2000-01-01 00:00) in recorded cassette bodies. Eliminates ~1000 lines of noise when re-recording cassettes. Re-record all cassettes with the new normalization. risk: low
1 parent 6e545c0 commit d0ac128

65 files changed

Lines changed: 1304 additions & 1299 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎packages/gooddata-fdw/tests/import_foreign_schema/fixtures/import_compute_without_restrictions.yaml‎

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -573,19 +573,19 @@ interactions:
573573
type: attribute
574574
referenceProperties:
575575
- identifier:
576-
id: date
576+
id: customers
577577
type: dataset
578578
multivalue: false
579579
sourceColumnDataTypes: null
580580
sourceColumns: null
581581
sources:
582-
- column: date
583-
dataType: DATE
582+
- column: customer_id
583+
dataType: INT
584584
isNullable: true
585585
nullValue: null
586586
target:
587-
id: date
588-
type: date
587+
id: customer_id
588+
type: attribute
589589
- identifier:
590590
id: products
591591
type: dataset
@@ -615,38 +615,38 @@ interactions:
615615
id: campaign_id
616616
type: attribute
617617
- identifier:
618-
id: customers
618+
id: date
619619
type: dataset
620620
multivalue: false
621621
sourceColumnDataTypes: null
622622
sourceColumns: null
623623
sources:
624-
- column: customer_id
625-
dataType: INT
624+
- column: date
625+
dataType: DATE
626626
isNullable: true
627627
nullValue: null
628628
target:
629-
id: customer_id
630-
type: attribute
629+
id: date
630+
type: date
631631
tags:
632632
- Order lines
633633
title: Order lines
634634
type: NORMAL
635635
workspaceDataFilterColumns:
636-
- dataType: STRING
637-
name: wdf__state
638636
- dataType: STRING
639637
name: wdf__region
638+
- dataType: STRING
639+
name: wdf__state
640640
workspaceDataFilterReferences:
641-
- filterColumn: wdf__region
641+
- filterColumn: wdf__state
642642
filterColumnDataType: STRING
643643
filterId:
644-
id: wdf__region
644+
id: wdf__state
645645
type: workspaceDataFilter
646-
- filterColumn: wdf__state
646+
- filterColumn: wdf__region
647647
filterColumnDataType: STRING
648648
filterId:
649-
id: wdf__state
649+
id: wdf__region
650650
type: workspaceDataFilter
651651
id: order_lines
652652
links:
@@ -1237,19 +1237,19 @@ interactions:
12371237
type: attribute
12381238
referenceProperties:
12391239
- identifier:
1240-
id: date
1240+
id: customers
12411241
type: dataset
12421242
multivalue: false
12431243
sourceColumnDataTypes: null
12441244
sourceColumns: null
12451245
sources:
1246-
- column: date
1247-
dataType: DATE
1246+
- column: customer_id
1247+
dataType: INT
12481248
isNullable: true
12491249
nullValue: null
12501250
target:
1251-
id: date
1252-
type: date
1251+
id: customer_id
1252+
type: attribute
12531253
- identifier:
12541254
id: products
12551255
type: dataset
@@ -1279,38 +1279,38 @@ interactions:
12791279
id: campaign_id
12801280
type: attribute
12811281
- identifier:
1282-
id: customers
1282+
id: date
12831283
type: dataset
12841284
multivalue: false
12851285
sourceColumnDataTypes: null
12861286
sourceColumns: null
12871287
sources:
1288-
- column: customer_id
1289-
dataType: INT
1288+
- column: date
1289+
dataType: DATE
12901290
isNullable: true
12911291
nullValue: null
12921292
target:
1293-
id: customer_id
1294-
type: attribute
1293+
id: date
1294+
type: date
12951295
tags:
12961296
- Order lines
12971297
title: Order lines
12981298
type: NORMAL
12991299
workspaceDataFilterColumns:
1300-
- dataType: STRING
1301-
name: wdf__state
13021300
- dataType: STRING
13031301
name: wdf__region
1302+
- dataType: STRING
1303+
name: wdf__state
13041304
workspaceDataFilterReferences:
1305-
- filterColumn: wdf__region
1305+
- filterColumn: wdf__state
13061306
filterColumnDataType: STRING
13071307
filterId:
1308-
id: wdf__region
1308+
id: wdf__state
13091309
type: workspaceDataFilter
1310-
- filterColumn: wdf__state
1310+
- filterColumn: wdf__region
13111311
filterColumnDataType: STRING
13121312
filterId:
1313-
id: wdf__state
1313+
id: wdf__region
13141314
type: workspaceDataFilter
13151315
id: order_lines
13161316
links:

‎packages/gooddata-fdw/tests/import_foreign_schema/fixtures/import_insights_without_restrictions.yaml‎

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -573,19 +573,19 @@ interactions:
573573
type: attribute
574574
referenceProperties:
575575
- identifier:
576-
id: date
576+
id: customers
577577
type: dataset
578578
multivalue: false
579579
sourceColumnDataTypes: null
580580
sourceColumns: null
581581
sources:
582-
- column: date
583-
dataType: DATE
582+
- column: customer_id
583+
dataType: INT
584584
isNullable: true
585585
nullValue: null
586586
target:
587-
id: date
588-
type: date
587+
id: customer_id
588+
type: attribute
589589
- identifier:
590590
id: products
591591
type: dataset
@@ -615,38 +615,38 @@ interactions:
615615
id: campaign_id
616616
type: attribute
617617
- identifier:
618-
id: customers
618+
id: date
619619
type: dataset
620620
multivalue: false
621621
sourceColumnDataTypes: null
622622
sourceColumns: null
623623
sources:
624-
- column: customer_id
625-
dataType: INT
624+
- column: date
625+
dataType: DATE
626626
isNullable: true
627627
nullValue: null
628628
target:
629-
id: customer_id
630-
type: attribute
629+
id: date
630+
type: date
631631
tags:
632632
- Order lines
633633
title: Order lines
634634
type: NORMAL
635635
workspaceDataFilterColumns:
636-
- dataType: STRING
637-
name: wdf__state
638636
- dataType: STRING
639637
name: wdf__region
638+
- dataType: STRING
639+
name: wdf__state
640640
workspaceDataFilterReferences:
641-
- filterColumn: wdf__region
641+
- filterColumn: wdf__state
642642
filterColumnDataType: STRING
643643
filterId:
644-
id: wdf__region
644+
id: wdf__state
645645
type: workspaceDataFilter
646-
- filterColumn: wdf__state
646+
- filterColumn: wdf__region
647647
filterColumnDataType: STRING
648648
filterId:
649-
id: wdf__state
649+
id: wdf__region
650650
type: workspaceDataFilter
651651
id: order_lines
652652
links:
@@ -1237,19 +1237,19 @@ interactions:
12371237
type: attribute
12381238
referenceProperties:
12391239
- identifier:
1240-
id: date
1240+
id: customers
12411241
type: dataset
12421242
multivalue: false
12431243
sourceColumnDataTypes: null
12441244
sourceColumns: null
12451245
sources:
1246-
- column: date
1247-
dataType: DATE
1246+
- column: customer_id
1247+
dataType: INT
12481248
isNullable: true
12491249
nullValue: null
12501250
target:
1251-
id: date
1252-
type: date
1251+
id: customer_id
1252+
type: attribute
12531253
- identifier:
12541254
id: products
12551255
type: dataset
@@ -1279,38 +1279,38 @@ interactions:
12791279
id: campaign_id
12801280
type: attribute
12811281
- identifier:
1282-
id: customers
1282+
id: date
12831283
type: dataset
12841284
multivalue: false
12851285
sourceColumnDataTypes: null
12861286
sourceColumns: null
12871287
sources:
1288-
- column: customer_id
1289-
dataType: INT
1288+
- column: date
1289+
dataType: DATE
12901290
isNullable: true
12911291
nullValue: null
12921292
target:
1293-
id: customer_id
1294-
type: attribute
1293+
id: date
1294+
type: date
12951295
tags:
12961296
- Order lines
12971297
title: Order lines
12981298
type: NORMAL
12991299
workspaceDataFilterColumns:
1300-
- dataType: STRING
1301-
name: wdf__state
13021300
- dataType: STRING
13031301
name: wdf__region
1302+
- dataType: STRING
1303+
name: wdf__state
13041304
workspaceDataFilterReferences:
1305-
- filterColumn: wdf__region
1305+
- filterColumn: wdf__state
13061306
filterColumnDataType: STRING
13071307
filterId:
1308-
id: wdf__region
1308+
id: wdf__state
13091309
type: workspaceDataFilter
1310-
- filterColumn: wdf__state
1310+
- filterColumn: wdf__region
13111311
filterColumnDataType: STRING
13121312
filterId:
1313-
id: wdf__state
1313+
id: wdf__region
13141314
type: workspaceDataFilter
13151315
id: order_lines
13161316
links:

‎packages/gooddata-sdk/tests/catalog/fixtures/data_sources/bigquery.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ interactions:
2020
to access it.
2121
status: 404
2222
title: Not Found
23-
traceId: 69d4d465ccd63926930993096035d876
23+
traceId: 69d4ea194d46dbbb077ae2f15b1cda3f
2424
headers:
2525
Content-Type:
2626
- application/problem+json

‎packages/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_put_declarative_data_sources_connection.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ interactions:
7474
string:
7575
queryDurationMillis:
7676
createCacheTable: 0
77-
simpleSelect: 11
77+
simpleSelect: 10
7878
successful: true
7979
headers:
8080
Content-Type:

‎packages/gooddata-sdk/tests/catalog/fixtures/data_sources/dremio.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ interactions:
2020
to access it.
2121
status: 404
2222
title: Not Found
23-
traceId: 69d4d465100607577858862cecabc2f2
23+
traceId: 69d4ea1923afdd1f540950b6e7e4225d
2424
headers:
2525
Content-Type:
2626
- application/problem+json

‎packages/gooddata-sdk/tests/catalog/fixtures/data_sources/patch.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ interactions:
6767
to access it.
6868
status: 404
6969
title: Not Found
70-
traceId: 69d4d466ed962436fc90e0c7a6569828
70+
traceId: 69d4ea1a15e83cdc3a5ba25cf8c890c9
7171
headers:
7272
Content-Type:
7373
- application/problem+json

‎packages/gooddata-sdk/tests/catalog/fixtures/data_sources/redshift.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ interactions:
2020
to access it.
2121
status: 404
2222
title: Not Found
23-
traceId: 69d4d464dc712bbb373861cd7ded47b9
23+
traceId: 69d4ea18a1702cc9e0ccd1e013fc5b87
2424
headers:
2525
Content-Type:
2626
- application/problem+json

‎packages/gooddata-sdk/tests/catalog/fixtures/data_sources/snowflake.yaml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ interactions:
2020
to access it.
2121
status: 404
2222
title: Not Found
23-
traceId: 69d4d46543421272c6399fe90c26430d
23+
traceId: 69d4ea1957e38b99ab4eeb95f3a2597b
2424
headers:
2525
Content-Type:
2626
- application/problem+json
@@ -180,7 +180,7 @@ interactions:
180180
to access it.
181181
status: 404
182182
title: Not Found
183-
traceId: 69d4d465ca327eb1b6bf4dcd49aa59c5
183+
traceId: 69d4ea19df58628258e37205fd6199e1
184184
headers:
185185
Content-Type:
186186
- application/problem+json

‎packages/gooddata-sdk/tests/catalog/fixtures/data_sources/test_create_update.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ interactions:
6767
to access it.
6868
status: 404
6969
title: Not Found
70-
traceId: 69d4d464b050416459203569899bac70
70+
traceId: 69d4ea18812b4faca4e6ab1dbb88e6f9
7171
headers:
7272
Content-Type:
7373
- application/problem+json

‎packages/gooddata-sdk/tests/catalog/fixtures/data_sources/vertica.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ interactions:
2020
to access it.
2121
status: 404
2222
title: Not Found
23-
traceId: 69d4d465b91bdfbc29e480bfb6a28b45
23+
traceId: 69d4ea198a89b4bf586fcd3caf9189d4
2424
headers:
2525
Content-Type:
2626
- application/problem+json

0 commit comments

Comments
 (0)