From e7032cb919caf9ae5521021727c7d6176899e10d Mon Sep 17 00:00:00 2001
From: Guillaume28 <Guillaume28@users.noreply.github.com>
Date: Wed, 30 May 2018 16:47:24 +0200
Subject: [PATCH] Jenkins meta service (#6331)

* fix(feature): Add Login/Logout otherwise wrong UTC

* fix(CI): Check status of meta-service

* Update AcknowledgementContext.php
---
 features/bootstrap/AcknowledgementContext.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/features/bootstrap/AcknowledgementContext.php b/features/bootstrap/AcknowledgementContext.php
index db7ba83fc4..7f9c6bcb17 100644
--- a/features/bootstrap/AcknowledgementContext.php
+++ b/features/bootstrap/AcknowledgementContext.php
@@ -71,7 +71,7 @@ class AcknowledgementContext extends CentreonContext
                     'meta_1'
                 );
                 $props = $page->getProperties();
-                return $props['last_check'];
+                return $props['last_check'] && $props['state'] != 'PENDING';
             },
             'Could not open meta-service monitoring details page.',
             120
-- 
GitLab