Skip to content
This repository has been archived by the owner on Jul 2, 2021. It is now read-only.

Commit

Permalink
added tests for number of crashes in F3DataRetrieverIT
Browse files Browse the repository at this point in the history
  • Loading branch information
Andre Holzner authored and andreh12 committed Nov 13, 2017
1 parent af40ab6 commit e3e2226
Showing 1 changed file with 23 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -159,5 +159,28 @@ public void hltInfoDirectTest() throws IOException {
logger.info("HLT bandwidth for stream " + streamName + " is " + bandwidth);
assertNotNull(bandwidth);
}

/**
* Test for number of HLT crashes
*/
@Test
public void crashesDirectTest() throws IOException {

Integer crashes = f3dataRetriever.getCrashes();

logger.info("HLT number of crashes is " + crashes);
assertNotNull(crashes);
}

/**
* test of dispatching of number of HLT crashes
*/
@Test
public void crashesDispatchTest() {

Integer crashes = daq.getHltInfo().getCrashes();
assertNotNull(crashes);

}

}

0 comments on commit e3e2226

Please sign in to comment.