* Split drone e2e into multiple blocks, explicit virsh cleanup
* Create multiple registries once and reuse as long as they exist
Signed-off-by: Derek Nola <derek.nola@suse.com>
Placing this in the install script test, which only runs when specific files are changed, was preventing it from being run on code changes.
In addition to moving this into the integration workflow, fix codecov for Windows and upload data after running a test pod.
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
Add --no-tty flag to all `vagrant up` commands to silence the printing of box loading progress
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
- Add testlet for new provider switch
- Handle migration between providers
- Add exception for criticalcontrolargs
Signed-off-by: Derek Nola <derek.nola@suse.com>
Generate the mock executor with mockgen and convert existing uses of the mock executor to set it up properly.
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
This eliminates the final channel that was being passed around in an internal struct. The ETCD management code passes in a func that can be polled until etcd is ready; the executor is responsible for polling this after etcd is started and closing the etcd ready channel at the correct time.
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
Move the container runtime ready channel into the executor interface, instead of passing it awkwardly between server and agent config structs
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
* Fix upgrade test container version
Signed-off-by: Derek Nola <derek.nola@suse.com>
* Ensure CI cleanup on all docker tests
Signed-off-by: Derek Nola <derek.nola@suse.com>
Fix cleanup
Signed-off-by: Derek Nola <derek.nola@suse.com>
* Bump skew test timeout
Signed-off-by: Derek Nola <derek.nola@suse.com>
---------
Signed-off-by: Derek Nola <derek.nola@suse.com>
* Update to v1.32.2
Signed-off-by: Rafael Breno <32229014+rafaelbreno@users.noreply.github.com>
* Increase test timeout
Signed-off-by: Rafael Breno <32229014+rafaelbreno@users.noreply.github.com>
---------
Signed-off-by: Rafael Breno <32229014+rafaelbreno@users.noreply.github.com>
* Migrate conformance docker test
Switch to hydrophone from sonobuoy
Support serial conformance
* Replace docker tests with go version on arm32 Drone pipeline
* Support multiple DB, push hydrophone logs to test output
* Replace etcd and sqlite conformance tests with golang versions
* Retry on flaky btrfs section
* Fix db cleanup for sqlite, be explicit on the dbtype
Signed-off-by: Derek Nola <derek.nola@suse.com>
* [e2e] Convert RunCmdOnNode to method
* Consolidate e2e variables into TestConfig struct
* Consolidate docker and integration test helper functions
* E2E: Directly count daemonsets, not their pods
* Add missing Context levels for E2E tests
* Migrate e2e.ParsePods to new tests client package
* Run the go test compile test on their respective architectures
Signed-off-by: Derek Nola <derek.nola@suse.com>
* Build and Run Arm64 Docker Tests
* Compile go tests for both amd64 and arm64
* Use version.sh to determine channel, not git
* Consolidate docker tests into 2D matrix
* Remove old Docker test from Drone and Github Actions
Signed-off-by: Derek Nola <derek.nola@suse.com>
Make this field an interface instead of pointer to allow mocking. Not sure why wrangler has a type that returns an interface instead of just making it an interface itself. Wrangler in general is hard to mock for testing.
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>