From 69e526c81362d416876833e6f8dd78181fda1527 Mon Sep 17 00:00:00 2001 From: Robin Xiang Date: Wed, 17 May 2023 13:11:18 +0800 Subject: [PATCH] deprecates cassandra test cases --- .github/workflows/build_and_test.yml | 8 -------- spec/01-unit/19-hybrid/03-compat_spec.lua | 4 +++- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 6019100d42eb..14149dcfa216 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -55,14 +55,6 @@ jobs: ports: - 5432:5432 options: --health-cmd pg_isready --health-interval 5s --health-timeout 5s --health-retries 8 - cassandra: - image: cassandra:3 - ports: - - 7199:7199 - - 7000:7000 - - 9160:9160 - - 9042:9042 - options: --health-cmd "cqlsh -e 'describe cluster'" --health-interval 5s --health-timeout 5s --health-retries 8 steps: - name: Checkout Kong source code diff --git a/spec/01-unit/19-hybrid/03-compat_spec.lua b/spec/01-unit/19-hybrid/03-compat_spec.lua index 5775031f419d..c8ecf06d1657 100644 --- a/spec/01-unit/19-hybrid/03-compat_spec.lua +++ b/spec/01-unit/19-hybrid/03-compat_spec.lua @@ -342,8 +342,10 @@ describe("kong.clustering.compat", function() end) end) + for _, strategy in helpers.each_strategy() do - describe("[#" .. strategy .. "]: check compat for entities those have `updated_at` field", function() + local compat_describe = (strategy == "postgres") and describe or pending + compat_describe("[#" .. strategy .. "]: check compat for entities those have `updated_at` field", function() local bp, db, entity_names setup(function()