Code Monkey home page Code Monkey logo

acceptance-tests's Issues

Add tests to verify function of reverse PTR entries

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:

  • One test for servers
  • One test for Floating IPs

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.

Improve Support For Self-Updating Images

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.