From 5340d5a5330fd689d98be89ee6c4f295a9d5e103 Mon Sep 17 00:00:00 2001
From: David Hoese <david.hoese@ssec.wisc.edu>
Date: Sat, 19 Dec 2020 15:32:39 -0600
Subject: [PATCH] Remove allowed failure from postgres test

---
 ci_tests/gitlab-ci.yaml             | 4 +---
 ci_tests/run_basic_grb_test.sh      | 2 +-
 ci_tests/run_basic_postgres_test.sh | 2 +-
 3 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/ci_tests/gitlab-ci.yaml b/ci_tests/gitlab-ci.yaml
index 2ca3be1..0dbc8ce 100644
--- a/ci_tests/gitlab-ci.yaml
+++ b/ci_tests/gitlab-ci.yaml
@@ -31,8 +31,7 @@ test_basic_pg:
   extends: .helm_based_job
   stage: test
   script:
-    # run, but don't care about failure
-    - ./ci_tests/run_basic_postgres_test.sh || true
+    - ./ci_tests/run_basic_postgres_test.sh
   after_script:
     - ./ci_tests/cleanup_basic_postgres_test.sh
   dependencies:
@@ -42,6 +41,5 @@ test_basic_pg:
     - get_chart_mapserver
     - get_chart_mapcache
     - get_chart_client
-  allow_failure: true
   rules:
     - when: on_success
diff --git a/ci_tests/run_basic_grb_test.sh b/ci_tests/run_basic_grb_test.sh
index 704cdba..da4aa0d 100755
--- a/ci_tests/run_basic_grb_test.sh
+++ b/ci_tests/run_basic_grb_test.sh
@@ -15,7 +15,7 @@ set -e
 source ci_tests/_tests_common.sh
 ns=$(./helpers/get_namespace.sh)
 source ci_tests/get_release_names.sh
-install_basic_grb_charts "ci_tests/basic_grb" || error "Failed to install charts"
+install_basic_grb_charts "ci_tests/basic_grb"
 
 # give kubernetes a bit to create the resources
 debug "Waiting for Kubernetes to deploy and schedule components..."
diff --git a/ci_tests/run_basic_postgres_test.sh b/ci_tests/run_basic_postgres_test.sh
index e86d56e..c07b54b 100755
--- a/ci_tests/run_basic_postgres_test.sh
+++ b/ci_tests/run_basic_postgres_test.sh
@@ -16,7 +16,7 @@ set -e
 source ci_tests/_tests_common.sh
 ns=$(./helpers/get_namespace.sh)
 source ci_tests/get_release_names.sh
-install_basic_postgres_charts "ci_tests/basic_postgres" || error "Failed to install charts"
+install_basic_postgres_charts "ci_tests/basic_postgres"
 
 # give kubernetes a bit to create the resources
 debug "Waiting for Kubernetes to deploy and schedule components..."
-- 
GitLab