-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #148 from DUNE-DAQ/kbiery/minor_tweaks
Minor changes to integtests
- Loading branch information
Showing
3 changed files
with
13 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,28 @@ | ||
* 19-Jul-2023, ELF, KAB, and others: notes on existing integtests | ||
* 04-Nov-2024, ELF, KAB, and others: notes on existing integtests | ||
|
||
"integtests" are intended to be automated integration and/or system tests that make use of the | ||
"pytest" framework to validate the operation of the DAQ system in various scenarios. | ||
|
||
Here is a sample command for invoking a test (feel free to keep or drop the options in brackets, as you prefer): | ||
|
||
``` | ||
pytest -s minimal_system_quick_test.py [--nanorc-option log-level debug] # still useful even with drunc | ||
pytest -s minimal_system_quick_test.py [--nanorc-option log-level debug] # this nanorc option is still useful even when using drunc | ||
``` | ||
|
||
The "-k" pytest option can be used ro selectively run a subset of the configurations in one of our integtest files. For example: | ||
|
||
``` | ||
pytest -s -k TPG 3ru_3df_multirun_test.py | ||
``` | ||
|
||
For reference, here are the ideas behind the tests that currently exist in this repository: | ||
* `minimal_system_quick_test.py` - verify that a small emulator system works and successfully writes data in a short run | ||
* `readout_type_scan.py` - verify that we can write different types of data (WIBEth, PDS, TPG, etc.) | ||
* `3ru_3df_multirun_test.py` - verify that a system with multiple RUs and multiple DF Apps works as expected, including TPG | ||
* `small_footprint_quick_test.py` - like minimal_system_quick_test, but using even fewer computer resources | ||
* `fake_data_producer_test.py` - verify that the FakeDataProdModule DAQModule works as expected | ||
* `long_window_readout_test.py` - verify that readout windows that require TriggerRecords to be split into multiple sequences works as expected | ||
* `3ru_1df_multirun_test.py` - verify that we don't get empty fragments at end run | ||
* this test is also useful in looking into high-CPU-usage scenarios because it uses 3 data producers in 3 RUs | ||
* `tpstream_writing_test.py` - verify that TPSets are written to the TP-stream file(s) | ||
* `example_system_test.py` - verify that the example configurations in example-configs.data.xml work as expected |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters