2
0
mirror of https://github.com/VinylDNS/vinyldns synced 2025-08-29 13:27:43 +00:00

6 Commits

Author SHA1 Message Date
Paul Cleary
8c43a3d6e3
Add execute permissions to func test script (#1003) 2020-10-08 08:25:06 -04:00
Paul Cleary
719493881f
Removing travis (#998) 2020-10-05 20:34:17 -04:00
Paul Cleary
1100f3d1f7
Allow overriding parallelism for func tests (#886) 2019-10-22 11:21:46 -04:00
Paul Cleary
730c6f8897
Par func tests (#838)
Major overhaul of func tests to allow them to run in parallel.  Major changes include:

1. Consolidate all separate test fixtures into a single test fixture in the `shared_zone_test_context`
1. Add `xdist` to allow running tests in parallel
1. Add hooks in main `conftest.py` to setup the test fixture before workers run, and tear it down when workers are finished
1. After fixture is setup, save state in a local `tmp.out` so the workers will use that state instead of trying to recreate the fixture.
1. Add a `utils.generate_record_name` which generates a unique record name in order to avoid conflicts when running tests in parallel
1. Add a `pytest.mark.serial` for func tests that just cannot be run in serial
1. Tests are now run in two phases, first we run in parallel, and if that is successful, we run the serial tests
1. Add a `--teardown` flag, this allows us to reuse the test fixture between the two phases parallel and serial
2019-09-18 15:02:25 -04:00
Nima Eskandary
31d5f2ca64
only remove vinyl containers (#85)
script to remove vinyl containers, as an alternative to old script that removed all containers
2018-08-13 15:16:10 -04:00
Michael Ly
6b36ea9104
Enable functional tests in Travis build (#64)
* Enable functional tests in Travis build.

* Update JSON validations.
2018-08-07 09:02:05 -04:00