We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38e1ad8 commit 93f85beCopy full SHA for 93f85be
ocaml/tests/common/dune
@@ -28,6 +28,7 @@
28
xapi-stdext-date
29
xapi-stdext-threads.scheduler
30
xapi-stdext-unix
31
+ xapi_timeslice
32
)
33
34
ocaml/tests/common/suite_init.ml
@@ -11,4 +11,6 @@ let harness_init () =
11
Filename.concat Test_common.working_area "xapi-inventory" ;
12
Xcp_client.use_switch := false ;
13
Pool_role.set_pool_role_for_test () ;
14
- Message_forwarding.register_callback_fns ()
+ Message_forwarding.register_callback_fns () ;
15
+ (* for unit tests use a fixed value *)
16
+ Xapi_timeslice.Timeslice.set 0.004
0 commit comments