Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
kylechard authored Feb 10, 2024
1 parent c88bc4f commit ef4a177
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,14 @@ there is a variable called `ELECTION_TIMEOUT` that sleeps the test to allow for

## Notes

for any questions ask in slack `project-questions`
For any questions ask in slack

these test will be updated when there are new test releases and or bug fixes. for every update you will be notified on slack `announcements`
During the project, we may update the tests (e.g., to fix bugs). We will notify you of update on Slack.

`@pytest.fixture` are the functions called by tests before running. in this case we use them to start the nodes, then terminate them when the test is done.

the test has a variable called `PROGRAM_FILE_PATH` that specifies where the `node.py` file is. you can change it for your tests but that is the place where the submission file should be. now is `"src/node.py"` because tests are meant to be run in the repository root folder.

`config.json` will be created in the root folder

You don't need to start any process or setup a config file. Each test will take care of generating a `config.json` and pass the right parameters to the node process as arguments (config and id). The test framework then will wait for the processes to startup and do elections if needed and will run one test. The test will be sending http requests to the local port given to the node. Based on the answers test will be passed or failed.
You don't need to start any process or setup a config file. Each test will take care of generating a `config.json` and pass the right parameters to the node process as arguments (config and id). The test framework then will wait for the processes to startup and do elections if needed and will run one test. The test will be sending http requests to the local port given to the node. Based on the answers test will be passed or failed.

0 comments on commit ef4a177

Please sign in to comment.