2
0
mirror of https://github.com/VinylDNS/vinyldns synced 2025-08-23 02:27:09 +00:00

9 Commits

Author SHA1 Message Date
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
Michael Ly
ed1f2c7e6f
JSON deserialization and protobuf changes for remove single DNS record entry (#795)
* Support DeleteRecord in API
2019-08-21 15:32:23 -04:00
Michael Ly
ad1e7a2c12
Incorporate owner group validations into delete record set endpoint (#454)
* Update canDeleteRecordSet to include ownerGroupId
* Update unit, integration and functional tests
2019-01-30 10:55:09 -05:00
Nima Eskandary
1139b03d9d
ownergroup id logic for create and update recordset endpoints (#426)
* owner group id logic for recordset update and create endpoints #354
2019-01-23 15:44:38 -05:00
Britney Wright
8929c0ea51
include recordset ownergroup name in getRecordSet response (#425)
* include recordset ownergroup name in getRecordSet response
* update getRecordSet to check record group ownership for shared zones
2019-01-14 17:17:32 -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
Rebecca Star
9480160b6a
Revert "Test DDNS connectivity when connecting to a zone (#140)" (#161)
This reverts commit c7555ebb42fe1b994151b2d998433b3a375aeb32.
2018-08-31 14:42:39 -04:00
Michael Ly
c7555ebb42
Test DDNS connectivity when connecting to a zone (#140)
* Add DDNS connectivity check when validating zone connections.

* Add unit tests for DDNS connectivity test.

* Update functional tests for DDNS connectivity test.

* Update create zone documentation with DDNS connectivity information.

* Updates based on feedback (pauljamescleary).

* Convert TSIG key algoritm from default HMAC-MD5 to HMAC-SHA512.

* Updates based on feedback.
2018-08-30 18:17:55 -04:00
Paul James Cleary
f0726ecb37 Initial code release 2018-07-31 14:26:07 -04:00