Skip to content

Commit e66ad1b

Browse files
committed
remove VaxSupplierPerms. 600 s timeout. readme
1 parent ad8284a commit e66ad1b

File tree

4 files changed

+6
-12
lines changed

4 files changed

+6
-12
lines changed

e2e_batch/README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,10 @@ This test suite provides automated end-to-end (E2E) testing for the Immunisation
2929

3030
## How to Run
3131
1. Ensure all dependencies and environment variables are set (see project root README).
32-
2. Update .`.env` file with contents indicated in `PR-NNN.env`, modified for PR and AWS access credentials
33-
3. Update the apigee app to match the required PR-NNN
34-
3. Run tests from vscode debugger or from makefile using
32+
2. Update `.env` file with contents indicated in `PR-NNN.env`, modified for PR
33+
3. Update `.env` with referrence to the appropriate AWS config profile `AWS_PROFILE={your-aws-profile}`
34+
4. Update the apigee app to match the required PR-NNN
35+
5. Run tests from vscode debugger or from makefile using
3536
```
3637
make test
3738
```

e2e_batch/test_e2e_batch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def tearDown(self):
4646
def test_batch_submission(self):
4747
"""Test all scenarios and submit as batch."""
4848
start_time = time.time()
49-
max_timeout = 1200 # seconds
49+
max_timeout = 600 # seconds
5050

5151
send_files(self.tests)
5252

e2e_batch/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def delete_file_from_s3(bucket, key):
7373
raise Exception(f"Unexpected error during file deletion: {e}")
7474

7575

76-
def wait_for_ack_file(ack_prefix, input_file_name, timeout=1200):
76+
def wait_for_ack_file(ack_prefix, input_file_name, timeout=600):
7777
"""Poll the ACK_BUCKET for an ack file that contains the input_file_name as a substring."""
7878

7979
filename_without_ext = input_file_name[:-4] if input_file_name.endswith(".csv") else input_file_name

e2e_batch/vax_suppliers.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
class VaxSupplierPerms:
2-
def __init__(self, ods_code, vax, permissions):
3-
self.ods_code = ods_code
4-
self.vax = vax
5-
self.permissions = permissions
6-
7-
81
# json to represent the classes below
92
suppliers = {
103
"DPSFULL": {

0 commit comments

Comments
 (0)