Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add bats tests for docker image #8

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

Add bats tests for docker image #8

wants to merge 2 commits into from

Conversation

tzdybal
Copy link
Member

@tzdybal tzdybal commented Jan 24, 2023

Overview

Resolves #2 .

Checklist

  • New and updated code has appropriate documentation
  • New and updated code has new and/or updated testing
  • Required CI checks are passing
  • Visual proof for any user facing features like CLI or documentation updates
  • Linked issues closed with keywords

@nashqueue
Copy link
Member

**This summary was created by my experimental bot **This diff is a script written in the Bats testing framework. It sets up a Docker container, runs two tests, and tears down the container. The first test checks if the Celestia appd is producing blocks by making an HTTP request to a specific block height. The second test checks if the Celestia node is processing blocks by making an HTTP request to the head of the blockchain. Both tests have a loop that runs for 30 seconds, waiting for the expected response and setting the "ok" variable to true if successful. There are no alterations to the signatures of exported functions or global data structures mentioned in the diff.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Smoke Test for docker image
2 participants