Skip to content
This repository was archived by the owner on Jun 27, 2025. It is now read-only.
This repository was archived by the owner on Jun 27, 2025. It is now read-only.

Integration testing #51

@pmcatominey

Description

@pmcatominey

I'm planning to build some integration testing against a Nomad agent running in dev, all of the scenarios we want to test can be created with job files and shell scripts running inside containers to simulate failures of various kinds.

I'm opening this to discuss the approach these tests should take:

  • a shell script using the levant cli
  • tests in the levant package (Go)
  • a test package using the levant cli (Go)

Test scenarios:

  • successful deployment of a simple job
  • deployment failure (container exits with code 1)
  • driver error (bad docker image tag)
  • evaluation failure (unsatisfiable constraint)
  • canary auto promote success
  • canary auto promote failure

All scenarios can be implemented with the Docker driver and the alpine image.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions