2
0
mirror of https://github.com/VinylDNS/vinyldns synced 2025-08-22 10:10:12 +00:00

23 Commits

Author SHA1 Message Date
Emerle, Ryan
0a1b533192 WIP - Functional Test Updates
- Update `dnsjava` library
- Add support for H2 database
- Update functional tests to support parallel runs
- Remove the ability to specify number of processes for functional tests - always 4 now
- Add `Makefile` and `Dockerfile` in `functional_test` to make it easier to run tests without spinning up multiple containers
2021-10-08 15:52:09 -04:00
Emerle, Ryan
0b3824ad6c WIP - Functional Test Updates
- Add custom network to `docker-compose-func-test.yml` for deterministic IP addresses
- Update tests to remove hard-coded zone names
- Fix various issues with cleanup
2021-09-29 14:07:57 -04:00
Emerle, Ryan
731e2bc873 WIP - Functional Test Updates
- Update tests to Python 3.x
- Setup partitions to allow for parallel testing
  - Partition bind zones
  - Update `docker/api/docker.conf` to include partitioned zones
- Replace AWS request signer with upgraded `boto3` signer
- Replace launcher script with one that instantiates the virtualenv
- Add `--enable-safety_check` to check for modifications to zone data
- Add `--resolver-ip` to allow for specification of a different resolver for the tests versus what gets sent to the API
  - This is helpful when the tests are not running in the same network as the API
  - Ex: `./run.sh --dns-ip=172.19.0.4 --resolver-ip=127.0.0.1:19001` where
2021-09-28 12:32:51 -04:00
Britney Wright
45a15f4ffc
Zone recordset search enhancements (#912) 2019-12-12 11:44:40 -05:00
Michael Ly
963407a0f4
Remove functional test and revert MAX_RETRIES. (#913) 2019-12-03 16:11:34 -06:00
Britney Wright
f461a62ee5
retry some failed record changes (#907) 2019-11-29 12:10:45 -05: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
Britney Wright
d0d88dc0ea
Open list groups access (#809) 2019-08-21 14:26:51 -04:00
Britney Wright
e7820e6005
update send to manual review logic (#811) 2019-08-21 14:25:50 -04:00
Britney Wright
d1968bd170
API: cancel batch change that is pending review (#794) 2019-08-12 10:43:13 -04:00
Britney Wright
6b84bb18ca
Add approvalStatus query param to list batch changes (#715) 2019-07-03 13:37:26 -04:00
Britney Wright
200ab3598f
add approve pending batch change route (#704) 2019-06-28 11:52:21 -04:00
Britney Wright
4aff3f4079
change listAll parameter to ignoreAccess (#713) 2019-06-28 10:06:41 -04:00
Britney Wright
99b8b0f800
allow super and support users to list all batch changes (#700) 2019-06-25 14:33:00 -04:00
Britney Wright
693b5e15e9
Expand Zone access (#689) 2019-06-24 17:19:59 -04:00
Michael Ly
9313e78481
Add reject batch change endpoint (#665)
* Add endpoint for reject batch change.
* Add unit tests.
* Add TODO comments to batch change route.
2019-06-10 09:55:17 -04:00
Britney Wright
a02b47de0c
remove wait_until_zone_exists helper (#620) 2019-05-08 17:04:40 -04:00
Nima Eskandary
f0a25fe943
Zone BackendID in portal (#607)
* list backend ids route and option to update a zones backendid in portal
2019-05-06 11:51:27 -04:00
Varsha Chandrashekar
b431894b9a
Expose get zone by name route in the API (#588) 2019-04-17 15:15:49 -04:00
Michael Ly
a240801843
Fix wait condition for zone update/delete functional tests (#514)
* Force an assertion that wait_until_zone_deleted has succeeded.
* Correct zone tests to wait for zone to be active before testing updates/deletes.
* Replace wait_until_zone_exists with wait_until_zone_active.
2019-03-01 10:37:01 -05:00
Rebecca Star
54b021aa58
Make DS records work (#472)
* allow DS changes to go through
2019-01-31 14:23:41 -05:00
Britney Wright
2a883e2713
Remove zone history check (#373)
* remove get_zone_history
* look for most recent zone change status
*  add wait_until_zone_active
* add helper function for test_sync_zone
2018-12-11 16:30:31 -05:00
Paul James Cleary
f0726ecb37 Initial code release 2018-07-31 14:26:07 -04:00