CE-775 Add some sleep to help timeout test

This commit is contained in:
2023-12-19 15:32:15 -06:00
parent dceb0ee142
commit db2e5fb7fc

View File

@ -893,6 +893,11 @@ class BaseAPIActionUtilTest extends BaseTest
LOG.info("Exception in simple http server", e);
}
});
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// give time for the thread w/ the listening socket to start before returning control to the thread that's going to try to connect to it //
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
SleepUtils.sleep(100, TimeUnit.MILLISECONDS);
}