Fix gating test

Change-Id: I6eb29c8a8e59d5f180fb40d649dc6612af90b170
diff --git a/gating-pipeline.groovy b/gating-pipeline.groovy
index 7075b09..b40bfec 100644
--- a/gating-pipeline.groovy
+++ b/gating-pipeline.groovy
@@ -43,7 +43,7 @@
             def doSubmit = false
             def skipProjectsVerify = ['mk/docker-jnlp-slave']
             stage("test") {
-                if (gerritChange.status != "MERGED" && env.SKIP_TEST.toBoolean()) {
+                if (gerritChange.status != "MERGED" && !env.SKIP_TEST.toBoolean()) {
                     // test max CodeReview
                     if (gerrit.patchsetHasApproval(gerritChange.currentPatchSet, "Code-Review", "+")) {
                         doSubmit = true