test-trace: adjust rate of top passing tracepoints

The traced top instance was configured to be active every two seconds
whereas the trace test uses a grace time of only 1.5 seconds before
raising the FOREIGN state of a trace subject as an error.

The state of a trace subject can change only whenever the traced thread
passes a trace point. Hence, with the original configuration, the
release of top as trace subject can take up to two seconds. The patch
reduces the rate to 0.5 seconds to satisfy the expectation of
test-trace.
This commit is contained in:
Norman Feske 2023-12-07 16:22:53 +01:00
parent 3aa2119290
commit 713659cea5

View File

@ -59,7 +59,7 @@
</start>
<start name="top">
<resource name="RAM" quantum="2M"/>
<config period_ms="2000"/>
<config period_ms="500"/>
</start>
</config>
</runtime>