Skip to content

Commit 0a051f5

Browse files
committed
[PRMP-631] Make tests repeatedly runnable
1 parent 9228083 commit 0a051f5

File tree

20 files changed

+169
-140
lines changed

20 files changed

+169
-140
lines changed

lambdas/tests/e2e/bulk_upload/check/__snapshots__/test_accept_bulk_upload/test_general_accepted_ingestions[General-Accepted-Multi File Upload 1of3-9730786976].json

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
{
22
"_description": "General-Accepted-Multi File Upload 1of3",
33
"bulk_upload_report": {
4-
"FilePath": "accept/9730786976/2of3_Lloyd_George_Record_[Lena Rena LAWLER]_[9730786976]_[24-07-1924].pdf",
54
"NhsNumber": "9730786976",
65
"PdsOdsCode": "M85143",
7-
"StoredFileName": "9730786976/2of3_Lloyd_George_Record_[Lena Rena LAWLER]_[9730786976]_[24-07-1924].pdf",
86
"UploadStatus": "complete",
97
"UploaderOdsCode": "M85143"
108
},
@@ -19,7 +17,6 @@
1917
"FileName": "1of1_Lloyd_George_Record_[Lena Rena LAWLER]_[9730786976]_[24-07-1924].pdf",
2018
"FileSize": "Decimal('578652')",
2119
"NhsNumber": "9730786976",
22-
"S3VersionID": "7lfNLZs_cykTkKDFkyretGqBMPxu9BKI",
2320
"Status": "current",
2421
"Uploaded": true,
2522
"Version": "1",
@@ -29,19 +26,12 @@
2926
{
3027
"Author": "M85143",
3128
"ContentType": "application/pdf",
32-
"Created": "2025-12-23T10:09:12.436159Z",
3329
"Custodian": "M85143",
3430
"DocStatus": "final",
3531
"DocumentScanCreation": "2023-01-01",
3632
"DocumentSnomedCodeType": "16521000000101",
37-
"FileLocation": "s3://roga7-lloyd-george-store/9730786976/9bd7b329-69b1-4dc1-945d-fc357d9f8178",
38-
"FileName": "3of3_Lloyd_George_Record_[Lena Rena LAWLER]_[9730786976]_[24-07-1924].pdf",
3933
"FileSize": "Decimal('173760')",
40-
"ID": "9bd7b329-69b1-4dc1-945d-fc357d9f8178",
41-
"LastUpdated": "Decimal('1766484552')",
4234
"NhsNumber": "9730786976",
43-
"S3FileKey": "9730786976/9bd7b329-69b1-4dc1-945d-fc357d9f8178",
44-
"S3VersionID": "1Xp4BDaBwIEEgZxPwxJTk5HOZTAUKJbC",
4535
"Status": "current",
4636
"Uploaded": true,
4737
"Version": "1",
@@ -50,19 +40,12 @@
5040
{
5141
"Author": "M85143",
5242
"ContentType": "application/pdf",
53-
"Created": "2025-12-23T10:09:12.266309Z",
5443
"Custodian": "M85143",
5544
"DocStatus": "final",
5645
"DocumentScanCreation": "2023-01-01",
5746
"DocumentSnomedCodeType": "16521000000101",
58-
"FileLocation": "s3://roga7-lloyd-george-store/9730786976/35905772-6357-4bf3-b812-e2eebfe56ff4",
59-
"FileName": "1of3_Lloyd_George_Record_[Lena Rena LAWLER]_[9730786976]_[24-07-1924].pdf",
6047
"FileSize": "Decimal('173760')",
61-
"ID": "35905772-6357-4bf3-b812-e2eebfe56ff4",
62-
"LastUpdated": "Decimal('1766484552')",
6348
"NhsNumber": "9730786976",
64-
"S3FileKey": "9730786976/35905772-6357-4bf3-b812-e2eebfe56ff4",
65-
"S3VersionID": "8ypIaC4mMk8jQPp_aPKYhy78rm9Hom.3",
6649
"Status": "current",
6750
"Uploaded": true,
6851
"Version": "1",
@@ -71,19 +54,12 @@
7154
{
7255
"Author": "M85143",
7356
"ContentType": "application/pdf",
74-
"Created": "2025-12-23T10:09:12.340065Z",
7557
"Custodian": "M85143",
7658
"DocStatus": "final",
7759
"DocumentScanCreation": "2023-01-01",
7860
"DocumentSnomedCodeType": "16521000000101",
79-
"FileLocation": "s3://roga7-lloyd-george-store/9730786976/a7dd5def-17af-404e-93d4-276cfcdddddb",
80-
"FileName": "2of3_Lloyd_George_Record_[Lena Rena LAWLER]_[9730786976]_[24-07-1924].pdf",
8161
"FileSize": "Decimal('173760')",
82-
"ID": "a7dd5def-17af-404e-93d4-276cfcdddddb",
83-
"LastUpdated": "Decimal('1766484552')",
8462
"NhsNumber": "9730786976",
85-
"S3FileKey": "9730786976/a7dd5def-17af-404e-93d4-276cfcdddddb",
86-
"S3VersionID": "tBW3RaCsEgTUzSN2Od6zdgudIC31e44o",
8763
"Status": "current",
8864
"Uploaded": true,
8965
"Version": "1",

lambdas/tests/e2e/bulk_upload/check/__snapshots__/test_accept_bulk_upload/test_general_accepted_ingestions[General-Accepted-Multi File Upload 2of3-9730786976].json

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
{
22
"_description": "General-Accepted-Multi File Upload 2of3",
33
"bulk_upload_report": {
4-
"FilePath": "accept/9730786976/2of3_Lloyd_George_Record_[Lena Rena LAWLER]_[9730786976]_[24-07-1924].pdf",
54
"NhsNumber": "9730786976",
65
"PdsOdsCode": "M85143",
7-
"StoredFileName": "9730786976/2of3_Lloyd_George_Record_[Lena Rena LAWLER]_[9730786976]_[24-07-1924].pdf",
86
"UploadStatus": "complete",
97
"UploaderOdsCode": "M85143"
108
},
@@ -19,7 +17,6 @@
1917
"FileName": "1of1_Lloyd_George_Record_[Lena Rena LAWLER]_[9730786976]_[24-07-1924].pdf",
2018
"FileSize": "Decimal('578652')",
2119
"NhsNumber": "9730786976",
22-
"S3VersionID": "7lfNLZs_cykTkKDFkyretGqBMPxu9BKI",
2320
"Status": "current",
2421
"Uploaded": true,
2522
"Version": "1",
@@ -29,19 +26,12 @@
2926
{
3027
"Author": "M85143",
3128
"ContentType": "application/pdf",
32-
"Created": "2025-12-23T10:09:12.436159Z",
3329
"Custodian": "M85143",
3430
"DocStatus": "final",
3531
"DocumentScanCreation": "2023-01-01",
3632
"DocumentSnomedCodeType": "16521000000101",
37-
"FileLocation": "s3://roga7-lloyd-george-store/9730786976/9bd7b329-69b1-4dc1-945d-fc357d9f8178",
38-
"FileName": "3of3_Lloyd_George_Record_[Lena Rena LAWLER]_[9730786976]_[24-07-1924].pdf",
3933
"FileSize": "Decimal('173760')",
40-
"ID": "9bd7b329-69b1-4dc1-945d-fc357d9f8178",
41-
"LastUpdated": "Decimal('1766484552')",
4234
"NhsNumber": "9730786976",
43-
"S3FileKey": "9730786976/9bd7b329-69b1-4dc1-945d-fc357d9f8178",
44-
"S3VersionID": "1Xp4BDaBwIEEgZxPwxJTk5HOZTAUKJbC",
4535
"Status": "current",
4636
"Uploaded": true,
4737
"Version": "1",
@@ -50,19 +40,12 @@
5040
{
5141
"Author": "M85143",
5242
"ContentType": "application/pdf",
53-
"Created": "2025-12-23T10:09:12.266309Z",
5443
"Custodian": "M85143",
5544
"DocStatus": "final",
5645
"DocumentScanCreation": "2023-01-01",
5746
"DocumentSnomedCodeType": "16521000000101",
58-
"FileLocation": "s3://roga7-lloyd-george-store/9730786976/35905772-6357-4bf3-b812-e2eebfe56ff4",
59-
"FileName": "1of3_Lloyd_George_Record_[Lena Rena LAWLER]_[9730786976]_[24-07-1924].pdf",
6047
"FileSize": "Decimal('173760')",
61-
"ID": "35905772-6357-4bf3-b812-e2eebfe56ff4",
62-
"LastUpdated": "Decimal('1766484552')",
6348
"NhsNumber": "9730786976",
64-
"S3FileKey": "9730786976/35905772-6357-4bf3-b812-e2eebfe56ff4",
65-
"S3VersionID": "8ypIaC4mMk8jQPp_aPKYhy78rm9Hom.3",
6649
"Status": "current",
6750
"Uploaded": true,
6851
"Version": "1",
@@ -71,19 +54,12 @@
7154
{
7255
"Author": "M85143",
7356
"ContentType": "application/pdf",
74-
"Created": "2025-12-23T10:09:12.340065Z",
7557
"Custodian": "M85143",
7658
"DocStatus": "final",
7759
"DocumentScanCreation": "2023-01-01",
7860
"DocumentSnomedCodeType": "16521000000101",
79-
"FileLocation": "s3://roga7-lloyd-george-store/9730786976/a7dd5def-17af-404e-93d4-276cfcdddddb",
80-
"FileName": "2of3_Lloyd_George_Record_[Lena Rena LAWLER]_[9730786976]_[24-07-1924].pdf",
8161
"FileSize": "Decimal('173760')",
82-
"ID": "a7dd5def-17af-404e-93d4-276cfcdddddb",
83-
"LastUpdated": "Decimal('1766484552')",
8462
"NhsNumber": "9730786976",
85-
"S3FileKey": "9730786976/a7dd5def-17af-404e-93d4-276cfcdddddb",
86-
"S3VersionID": "tBW3RaCsEgTUzSN2Od6zdgudIC31e44o",
8763
"Status": "current",
8864
"Uploaded": true,
8965
"Version": "1",

lambdas/tests/e2e/bulk_upload/check/__snapshots__/test_accept_bulk_upload/test_general_accepted_ingestions[General-Accepted-Multi File Upload 3of3-9730786976].json

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
{
22
"_description": "General-Accepted-Multi File Upload 3of3",
33
"bulk_upload_report": {
4-
"FilePath": "accept/9730786976/2of3_Lloyd_George_Record_[Lena Rena LAWLER]_[9730786976]_[24-07-1924].pdf",
54
"NhsNumber": "9730786976",
65
"PdsOdsCode": "M85143",
7-
"StoredFileName": "9730786976/2of3_Lloyd_George_Record_[Lena Rena LAWLER]_[9730786976]_[24-07-1924].pdf",
86
"UploadStatus": "complete",
97
"UploaderOdsCode": "M85143"
108
},
@@ -19,7 +17,6 @@
1917
"FileName": "1of1_Lloyd_George_Record_[Lena Rena LAWLER]_[9730786976]_[24-07-1924].pdf",
2018
"FileSize": "Decimal('578652')",
2119
"NhsNumber": "9730786976",
22-
"S3VersionID": "7lfNLZs_cykTkKDFkyretGqBMPxu9BKI",
2320
"Status": "current",
2421
"Uploaded": true,
2522
"Version": "1",
@@ -29,19 +26,12 @@
2926
{
3027
"Author": "M85143",
3128
"ContentType": "application/pdf",
32-
"Created": "2025-12-23T10:09:12.436159Z",
3329
"Custodian": "M85143",
3430
"DocStatus": "final",
3531
"DocumentScanCreation": "2023-01-01",
3632
"DocumentSnomedCodeType": "16521000000101",
37-
"FileLocation": "s3://roga7-lloyd-george-store/9730786976/9bd7b329-69b1-4dc1-945d-fc357d9f8178",
38-
"FileName": "3of3_Lloyd_George_Record_[Lena Rena LAWLER]_[9730786976]_[24-07-1924].pdf",
3933
"FileSize": "Decimal('173760')",
40-
"ID": "9bd7b329-69b1-4dc1-945d-fc357d9f8178",
41-
"LastUpdated": "Decimal('1766484552')",
4234
"NhsNumber": "9730786976",
43-
"S3FileKey": "9730786976/9bd7b329-69b1-4dc1-945d-fc357d9f8178",
44-
"S3VersionID": "1Xp4BDaBwIEEgZxPwxJTk5HOZTAUKJbC",
4535
"Status": "current",
4636
"Uploaded": true,
4737
"Version": "1",
@@ -50,19 +40,12 @@
5040
{
5141
"Author": "M85143",
5242
"ContentType": "application/pdf",
53-
"Created": "2025-12-23T10:09:12.266309Z",
5443
"Custodian": "M85143",
5544
"DocStatus": "final",
5645
"DocumentScanCreation": "2023-01-01",
5746
"DocumentSnomedCodeType": "16521000000101",
58-
"FileLocation": "s3://roga7-lloyd-george-store/9730786976/35905772-6357-4bf3-b812-e2eebfe56ff4",
59-
"FileName": "1of3_Lloyd_George_Record_[Lena Rena LAWLER]_[9730786976]_[24-07-1924].pdf",
6047
"FileSize": "Decimal('173760')",
61-
"ID": "35905772-6357-4bf3-b812-e2eebfe56ff4",
62-
"LastUpdated": "Decimal('1766484552')",
6348
"NhsNumber": "9730786976",
64-
"S3FileKey": "9730786976/35905772-6357-4bf3-b812-e2eebfe56ff4",
65-
"S3VersionID": "8ypIaC4mMk8jQPp_aPKYhy78rm9Hom.3",
6649
"Status": "current",
6750
"Uploaded": true,
6851
"Version": "1",
@@ -71,19 +54,12 @@
7154
{
7255
"Author": "M85143",
7356
"ContentType": "application/pdf",
74-
"Created": "2025-12-23T10:09:12.340065Z",
7557
"Custodian": "M85143",
7658
"DocStatus": "final",
7759
"DocumentScanCreation": "2023-01-01",
7860
"DocumentSnomedCodeType": "16521000000101",
79-
"FileLocation": "s3://roga7-lloyd-george-store/9730786976/a7dd5def-17af-404e-93d4-276cfcdddddb",
80-
"FileName": "2of3_Lloyd_George_Record_[Lena Rena LAWLER]_[9730786976]_[24-07-1924].pdf",
8161
"FileSize": "Decimal('173760')",
82-
"ID": "a7dd5def-17af-404e-93d4-276cfcdddddb",
83-
"LastUpdated": "Decimal('1766484552')",
8462
"NhsNumber": "9730786976",
85-
"S3FileKey": "9730786976/a7dd5def-17af-404e-93d4-276cfcdddddb",
86-
"S3VersionID": "tBW3RaCsEgTUzSN2Od6zdgudIC31e44o",
8763
"Status": "current",
8864
"Uploaded": true,
8965
"Version": "1",

lambdas/tests/e2e/bulk_upload/check/__snapshots__/test_accept_bulk_upload/test_general_accepted_ingestions[General-Accepted-Pre-processor Hyphenated Nhs Number-9730154406].json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
{
22
"_description": "General-Accepted-Pre-processor Hyphenated Nhs Number",
33
"bulk_upload_report": {
4-
"FilePath": "accept/01 of 01_Lloyd_George_Record_MEIXIANG XIAOLIAN FONG_973-0154-406_27-11-1944.pdf",
54
"NhsNumber": "9730154406",
65
"PdsOdsCode": "H81109",
7-
"StoredFileName": "1of1_Lloyd_George_Record_[MEIXIANG XIAOLIAN FONG]_[9730154406]_[27-11-1944].pdf",
86
"UploadStatus": "complete",
97
"UploaderOdsCode": "H81109"
108
},
@@ -19,7 +17,6 @@
1917
"FileName": "1of1_Lloyd_George_Record_[MEIXIANG XIAOLIAN FONG]_[9730154406]_[27-11-1944].pdf",
2018
"FileSize": "Decimal('173760')",
2119
"NhsNumber": "9730154406",
22-
"S3VersionID": "._s99BCVqqKiLAym26twP8BQY759dY4k",
2320
"Status": "current",
2421
"Uploaded": true,
2522
"Version": "1",

lambdas/tests/e2e/bulk_upload/check/__snapshots__/test_accept_bulk_upload/test_general_accepted_ingestions[General-Accepted-Pre-processor LloydGeorge Name Edit-9730786925].json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
{
22
"_description": "General-Accepted-Pre-processor LloydGeorge Name Edit",
33
"bulk_upload_report": {
4-
"FilePath": "accept/9730786925/1of1_Ll0yd_George_Record_[Harry Adam TWIST]_[9730786925]_[01-04-1925].pdf",
54
"NhsNumber": "9730786925",
65
"PdsOdsCode": "M85143",
7-
"StoredFileName": "9730786925/1of1_Lloyd_George_Record_[Harry Adam TWIST]_[9730786925]_[01-04-1925].pdf",
86
"UploadStatus": "complete",
97
"UploaderOdsCode": "M85143"
108
},
@@ -19,7 +17,6 @@
1917
"FileName": "1of1_Lloyd_George_Record_[Harry Adam TWIST]_[9730786925]_[01-04-1925].pdf",
2018
"FileSize": "Decimal('173760')",
2119
"NhsNumber": "9730786925",
22-
"S3VersionID": "ZvWGUznQhqS7Ms8xH5EaHrmMhMPOzdrz",
2320
"Status": "current",
2421
"Uploaded": true,
2522
"Version": "1",

lambdas/tests/e2e/bulk_upload/check/__snapshots__/test_accept_bulk_upload/test_general_accepted_ingestions[General-Accepted-Pre-processor Mixed Spacing in Page-9730154775].json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
{
22
"_description": "General-Accepted-Pre-processor Mixed Spacing in Page",
33
"bulk_upload_report": {
4-
"FilePath": "accept/01of 01_Lloyd_George_Record_Andrea Gladys HOAKES_9730154775_09-01-2009.pdf",
54
"NhsNumber": "9730154775",
65
"PdsOdsCode": "H81109",
7-
"StoredFileName": "1of1_Lloyd_George_Record_[Andrea Gladys HOAKES]_[9730154775]_[09-01-2009].pdf",
86
"UploadStatus": "complete",
97
"UploaderOdsCode": "H81109"
108
},
@@ -19,7 +17,6 @@
1917
"FileName": "1of1_Lloyd_George_Record_[Andrea Gladys HOAKES]_[9730154775]_[09-01-2009].pdf",
2018
"FileSize": "Decimal('173760')",
2119
"NhsNumber": "9730154775",
22-
"S3VersionID": "ZfuJbRpuLhZyJ0JWy9FX8NqZblWSb.0V",
2320
"Status": "current",
2421
"Uploaded": true,
2522
"Version": "1",

lambdas/tests/e2e/bulk_upload/check/__snapshots__/test_accept_bulk_upload/test_general_accepted_ingestions[General-Accepted-Pre-processor Mixed brackets-9730154090].json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
{
22
"_description": "General-Accepted-Pre-processor Mixed brackets",
33
"bulk_upload_report": {
4-
"FilePath": "accept/01 of 01_Lloyd George Record_[Tarina Sybill LEVY]_9730154090_14-09-1961.pdf",
54
"NhsNumber": "9730154090",
65
"PdsOdsCode": "H81109",
7-
"StoredFileName": "1of1_Lloyd_George_Record_[Tarina Sybill LEVY]_[9730154090]_[14-09-1961].pdf",
86
"UploadStatus": "complete",
97
"UploaderOdsCode": "H81109"
108
},
@@ -19,7 +17,6 @@
1917
"FileName": "1of1_Lloyd_George_Record_[Tarina Sybill LEVY]_[9730154090]_[14-09-1961].pdf",
2018
"FileSize": "Decimal('173760')",
2119
"NhsNumber": "9730154090",
22-
"S3VersionID": "Iu1fJel1HX0hLtgcpFtqh44OT1lI4snS",
2320
"Status": "current",
2421
"Uploaded": true,
2522
"Version": "1",

lambdas/tests/e2e/bulk_upload/check/__snapshots__/test_accept_bulk_upload/test_general_accepted_ingestions[General-Accepted-Pre-processor Spacing Nhs Number-9730154724].json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
{
22
"_description": "General-Accepted-Pre-processor Spacing Nhs Number",
33
"bulk_upload_report": {
4-
"FilePath": "accept/01 of 01_Lloyd_George_Record_GILALA NYSSA RUBENSTEIN_973 015 472 4_18-07-2020.pdf",
54
"NhsNumber": "9730154724",
65
"PdsOdsCode": "H81109",
7-
"StoredFileName": "1of1_Lloyd_George_Record_[GILALA NYSSA RUBENSTEIN]_[9730154724]_[18-07-2020].pdf",
86
"UploadStatus": "complete",
97
"UploaderOdsCode": "H81109"
108
},
@@ -19,7 +17,6 @@
1917
"FileName": "1of1_Lloyd_George_Record_[GILALA NYSSA RUBENSTEIN]_[9730154724]_[18-07-2020].pdf",
2018
"FileSize": "Decimal('173760')",
2119
"NhsNumber": "9730154724",
22-
"S3VersionID": "pb_V_YPWEGKuJk8U5va4ymIPDkZQYiC3",
2320
"Status": "current",
2421
"Uploaded": true,
2522
"Version": "1",

lambdas/tests/e2e/bulk_upload/check/__snapshots__/test_accept_bulk_upload/test_general_accepted_ingestions[General-Accepted-Single File Upload-9730787026].json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
{
22
"_description": "General-Accepted-Single File Upload",
33
"bulk_upload_report": {
4-
"FilePath": "accept/9730787026/1of1_Lloyd_George_Record_[Dora Celia HAMNET]_[9730787026]_[07-07-1926].pdf",
54
"NhsNumber": "9730787026",
65
"PdsOdsCode": "M85143",
7-
"StoredFileName": "9730787026/1of1_Lloyd_George_Record_[Dora Celia HAMNET]_[9730787026]_[07-07-1926].pdf",
86
"UploadStatus": "complete",
97
"UploaderOdsCode": "M85143"
108
},
@@ -19,7 +17,6 @@
1917
"FileName": "1of1_Lloyd_George_Record_[Dora Celia HAMNET]_[9730787026]_[07-07-1926].pdf",
2018
"FileSize": "Decimal('173760')",
2119
"NhsNumber": "9730787026",
22-
"S3VersionID": "4n5VlpEK2NOqT8CyD1oQGzomWiIdbk80",
2320
"Status": "current",
2421
"Uploaded": true,
2522
"Version": "1",

lambdas/tests/e2e/bulk_upload/check/__snapshots__/test_accept_bulk_upload/test_remap_and_fixed[9730787492-Remap and Fixed].json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
"FileName": "1of1_Lloyd_George_Record_[Bob SPEAR]_[9730787492]_[05-08-1968].pdf",
2020
"FileSize": "Decimal('173760')",
2121
"NhsNumber": "9730787492",
22-
"S3VersionID": "3t6zoIZ6ORnnnZyc7Q0tubL2SMy2XCa9",
2322
"Status": "current",
2423
"Uploaded": true,
2524
"Version": "1",

0 commit comments

Comments
 (0)