2
0
mirror of https://github.com/VinylDNS/vinyldns synced 2025-08-22 18:17:07 +00:00

16 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
3c1b911573
Enable multi-record functionality in batch change (#872)
* Support record data for DeleteRecordSet.
* Update unit and functional tests.
2019-10-15 09:46:34 -04:00
Michael Ly
a4092c7f0d Revert multi-record feature (#854)
* Revert "support DeleteRecord in New DNS Change form (#791)"

This reverts commit cbaa13e647fd68f1db83968bc6ec52dc5cf7341d.

* Revert "[DeleteRecord] Remove multi-record config (#836)"

This reverts commit 807f6760d92ed3838fa8b8f0d816dafe8ce46bb7.

* Revert "add DeleteRecord info to the docs (#792)"

This reverts commit f19f293cf754a2c96d35c1a9fdb0fd1cf3bba2cb.
2019-09-30 13:03:47 -04:00
Michael Ly
807f6760d9
[DeleteRecord] Remove multi-record config (#836)
* Remove multi-record enabled flag and enable DeleteRecord in JSON protocol.
* Update unit and functional tests
2019-09-24 16:51:18 -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
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