Commit a10d0e7d authored by Maiterth, Matthias's avatar Maiterth, Matthias
Browse files

Changed normal run with data to 20 minutes as this loads data for gcloud.

 If 10 minutes is desired, changing the arrival rate to poisson may ensure that data is available for this test and check.
There may be datasets where there is no data in the first minutes. (This should be solved by the start parameter as a datetime, however this fails currently for gcloud
(Reprocude of failing test in: tests/systems/test_main_withdata_range_run.py,  use: ``RAPS_DATA_DIR=/opt/data pytest -m "withdata and gcloudv2" -n auto --runlong'')
parent 97603503
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -16,11 +16,11 @@ def test_main_withdata_run(system, system_config, system_files, sim_output):

    engine, stats = run_engine({
        "system": system,
        "time": "10m",
        "time": "20m",
        "replay": system_files,
    })

    # Check that it at least loaded some data
    assert stats['tick_count'] == 10 * 60
    assert stats['tick_count'] == 20 * 60
    assert stats['job']['jobs_total'] > 0
    assert len(stats['job']['jobs_still_running']) + stats['job']['jobs_completed'] > 0