Skip to content

Draft: Test various yaml files (DO NOT MERGE)

Emir Muhammad requested to merge emmuhamm-test-invalid-eventtype into main

Stress testing the repository

Tests a couple of things:

  • bad event type adds in a yaml file with an event type that doesnt exist
  • stages tests out what happens when you submit a stage6
  • stages2 tests out what happens when you submit a stage4

bad event type:

  • ci fails to start completely. This is because lb-mc cannot convert it to a stage6 yaml file (expected behaviour)

NOTE: if there exists a bad event type in any of the yaml files, the entire CI test will not run!!

stage6 submission

  • atm the ci test fails, due to
[2023-03-27T08:15:04.726603+00:00]
Exit code from ['lb-mc', '--in-stage=6', '/tmp/tmpljmp8rge/input.yaml', '/tmp/tmpljmp8rge/output.yaml'] was 2
================================================================================
Usage: lb-mc [OPTIONS] INPUT_PATH OUTPUT_PATH
Try 'lb-mc --help' for help.

Error: Invalid value for '--in-stage': 6 is not in the range 0<=x<=5.

================================================================================

this is being fixed

Update: This has been fixed

stage4 submission

  • works well, just make sure that you are submitting with the latest LbMCSubmit version!
Edited by Emir Muhammad

Merge request reports