Add missing role to GKE nodepool service account, refactor test runners and parallelize tests (#164)

* add missing role to GKE nodepool service account

* refactor plan test runners

* remove spurious print statements from test

* use concurrency via locking the fixture dir

* add filelock to test requirements

* fix pytest arg in cloud build

* and yet another dep and args fix

* fix e2e runner, use correct runner in env e2e test

* revert parallel test changes, split modules and environments triggers

* I should stop experimenting in PRs
This commit is contained in:
Ludovico Magnocavallo
2020-11-09 21:32:09 +01:00
committed by GitHub
parent ea6c5c3fed
commit 14fe796885
10 changed files with 111 additions and 63 deletions

View File

@@ -33,6 +33,6 @@ def test_example(example_plan_runner, tmp_path, example):
expected_modules = int(match.group(1)) if match is not None else 1
expected_resources = int(match.group(2)) if match is not None else 1
plan, modules, resources = example_plan_runner(str(tmp_path))
assert expected_modules == len(modules)
assert expected_resources == len(resources)
num_modules, num_resources = example_plan_runner(str(tmp_path))
assert expected_modules == num_modules
assert expected_resources == num_resources