- Thread.sleep(interval * 1000L);
- }
- LOG.info("Bundle state check completed with result {}", result);
- if (result == CheckResult.IN_PROGRESS) {
- logNokBundleDetails();
- throw new IllegalStateException("Bundles states check timeout");
- }
- if (result != CheckResult.SUCCESS) {
- logNokBundleDetails();
- throw new IllegalStateException("Bundle states check failure");
+
+ LOG.info("Bundle state check completed with result {}", result);
+ if (result != CheckResult.SUCCESS) {
+ logNokBundleDetails();
+ throw new IllegalStateException("Bundle states check failure");
+ }
+ break;