You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/tstest
Christine Dodrill 622dc7b093
tstest/integration/vms: download images from s3 (#2035)
This makes integration tests pull pristine VM images from Amazon S3 if
they don't exist on disk. If the S3 fetch fails, it will fall back to
grabbing the image from the public internet. The VM images on the public
internet are known to be updated without warning and thusly change their
SHA256 checksum. This is not ideal for a test that we want to be able to
fire and forget, then run reliably for a very long time.

This requires an AWS profile to be configured at the default path. The
S3 bucket is rigged so that the requester pays. The VM images are
currently about 6.9 gigabytes. Please keep this in mind when running
these tests on your machine.

Documentation was added to the integration test folder to aid others in
running these tests on their machine.

Some wording in the logs of the tests was altered.

Updates #1988

Signed-off-by: Christine Dodrill <xe@tailscale.com>
3 years ago
..
integration tstest/integration/vms: download images from s3 (#2035) 3 years ago
natlab all: adapt to opaque netaddr types 3 years ago
staticcheck tstest/staticcheck: import the main package to fix "go mod tidy" 3 years ago
clock.go tstest/natlab: add a stateful firewall. 4 years ago
log.go types/logger: add key grinder stats lines to rate-limiting exemption list 3 years ago
log_test.go tstest: rename LogListener to LogLineTracker 4 years ago
resource.go tstest: simplify goroutine leak tests 3 years ago
tstest.go tstest: add WaitFor helper 3 years ago