cloudscale-ch / acceptance-tests Goto Github PK
View Code? Open in Web Editor NEWAutomated testing of the cloudscale.ch IaaS offering
Automated testing of the cloudscale.ch IaaS offering
When creating/updating a server, or creating/updating a Floating IP, it is possible to set a reverse PTR record.
See reverse_ptr
on https://www.cloudscale.ch/en/api/v1.
We need to add two tests that verify that the reverse PTR can be set and that querying it using standard DNS tools works:
There should be a maximum amount of time that this takes and we need to ensure that creating bogus records does not work and returns a useful error message.
Self-updating images like Flatcar or Fedora CoreOS pose a challenge for our tests. After they are booted for the first time, they upgrade themselves, possibly leading to a reboot or a restart of the SSH daemon.
So far, this has been solved by using a fault tolerant SSH mechanism, which automatically reconnects dropped SSH connections. This could mask real issues and not as surgical a fix as we would like.
Instead, we should wait for such images to update themselves, before using them for our tests. This adds some image-specific knowledge to our tests. There is some precedent for this however, as we already wait for cloud-init
to finish.
During this phase the fault-tolerance is probably still necessary, but it should be limited afterwards, as we do not expect sudden SSH connection drops, after the server has been declared ready.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.