config-policy: add timeout when waiting on conditional variables

Status Job ID Name Coverage
  Test
passed #1235322
build

00:02:06