@@ -30,21 +30,21 @@ test:
3030
3131
3232# Define variables for the suite group, path, and name with defaults
33- SUITE_GROUP ?= 'tests/e2e-core '
33+ SUITE_GROUP ?= 'tests/e2e'
3434SUITE_PATH ?= 'pg2ch'
35- SUITE_NAME ?= 'e2e-core- pg2ch'
35+ SUITE_NAME ?= 'e2e-pg2ch'
3636GO_TEST_ARGS ?= -timeout=15m
3737SHELL := /bin/bash
3838GOTESTSUM_FORMAT ?= standard-quiet
3939ifeq ($(GITHUB_ACTIONS ) ,true)
4040GOTESTSUM_FORMAT = github-actions
4141endif
42- MATRIX_CONTRACT ?= tests/e2e-core /matrix/core2ch.yaml
42+ MATRIX_CONTRACT ?= tests/e2e/matrix/core2ch.yaml
4343MATRIX_TOOL ?= go run ./tools/testmatrix
44- MATRIX_REPORT ?= tests/e2e-core /matrix/coverage_report.md
44+ MATRIX_REPORT ?= tests/e2e/matrix/coverage_report.md
4545MATRIX_TEST_GO_ARGS ?= -count=1 -timeout=20m
46- CDC_SUITE_MANIFEST ?= tests/e2e-core /matrix/cdc_local_suite.yaml
47- CDC_OPTIONAL_SUITE_MANIFEST ?= tests/e2e-core /matrix/cdc_optional_suite.yaml
46+ CDC_SUITE_MANIFEST ?= tests/e2e/matrix/cdc_local_suite.yaml
47+ CDC_OPTIONAL_SUITE_MANIFEST ?= tests/e2e/matrix/cdc_optional_suite.yaml
4848CDC_GO_TEST_ARGS ?= -timeout=20m
4949TEST_STATE_DIR ?= .teststate
5050TEST_STATE_WAVES_DIR ?= $(TEST_STATE_DIR ) /waves
@@ -57,35 +57,35 @@ SUPPORTED_FLOW_DBS := pg2ch mysql2ch mongo2ch
5757SUPPORTED_COMPONENT_DBS := postgres mysql mongo
5858SUPPORTED_STREAM_FLOW_DBS := kafka2ch
5959SUPPORTED_OPTIONAL_FLOW_DBS := kafka2ch eventhub2ch kinesis2ch airbyte2ch oracle2ch ch2ch
60- SUPPORTED_LAYERS := storage canon e2e-core evolution resume large
60+ SUPPORTED_LAYERS := storage canon e2e evolution resume large
6161SUPPORTED_SOURCE_VARIANTS := \
6262 postgres/17 postgres/18 \
6363 mysql/mysql84 mysql/mariadb118 \
6464 mongo/6 mongo/7 \
6565 kafka/confluent75 kafka/redpanda24
6666RESUME_TEST_PATTERN ?= ResumeFromCoordinator|Resume
67- LAYER ?= e2e-core
67+ LAYER ?= e2e
6868DB ?= pg2ch
6969SOURCE_VARIANT ?=
7070MATRIX_FAMILY ?= postgres
71- MATRIX_CORE_LAYERS ?= e2e-core evolution large
71+ MATRIX_CORE_LAYERS ?= e2e evolution large
7272MATRIX_GO_TEST_ARGS ?= -count=1 -timeout=15m
73- KAFKA_MATRIX_LAYERS ?= e2e-core evolution large
74- CDC_WAVES := providers storage-canon e2e-core evolution resume large
73+ KAFKA_MATRIX_LAYERS ?= e2e evolution large
74+ CDC_WAVES := providers storage-canon e2e evolution resume large
7575WAVE_TARGETS := $(addprefix $(TEST_STATE_WAVES_DIR ) /,$(addsuffix .ok,$(CDC_WAVES ) ) )
7676CDC_WAVE_SHARED_PATHS := library pkg vendor_patched tools/testmatrix
7777WAVE_PATHS_providers := tests/helpers tests/tcrecipes
7878WAVE_PATHS_storage-canon := tests/storage tests/canon
79- WAVE_PATHS_e2e-core := tests/e2e-core
79+ WAVE_PATHS_e2e := tests/e2e
8080WAVE_PATHS_evolution := tests/evolution
8181WAVE_PATHS_resume := tests/resume
8282WAVE_PATHS_large := tests/large
8383CDC_OPTIONAL_WAVES := optional-queues optional-connectors optional-clickhouse-source
8484OPTIONAL_WAVE_TARGETS := $(addprefix $(TEST_STATE_OPTIONAL_WAVES_DIR ) /,$(addsuffix .ok,$(CDC_OPTIONAL_WAVES ) ) )
8585CDC_OPTIONAL_WAVE_SHARED_PATHS := library pkg vendor_patched tools/testmatrix
86- OPTIONAL_WAVE_PATHS_optional-queues := tests/e2e-optional /kafka2ch tests/e2e-optional /eventhub2ch tests/e2e-optional /kinesis2ch tests/tcrecipes
87- OPTIONAL_WAVE_PATHS_optional-connectors := tests/e2e-optional /airbyte2ch tests/e2e-optional /oracle2ch tests/tcrecipes
88- OPTIONAL_WAVE_PATHS_optional-clickhouse-source := tests/e2e-optional /ch2ch
86+ OPTIONAL_WAVE_PATHS_optional-queues := tests/e2e/kafka2ch tests/e2e/eventhub2ch tests/e2e/kinesis2ch tests/tcrecipes
87+ OPTIONAL_WAVE_PATHS_optional-connectors := tests/e2e/airbyte2ch tests/e2e/oracle2ch tests/tcrecipes
88+ OPTIONAL_WAVE_PATHS_optional-clickhouse-source := tests/e2e/ch2ch
8989
9090define LIST_TRACKED_FILES
9191$(strip $(shell \
@@ -101,15 +101,15 @@ endef
101101COMMON_WAVE_DEPS := Makefile go.mod go.sum $(CDC_SUITE_MANIFEST ) $(MATRIX_CONTRACT ) $(call LIST_TRACKED_FILES,$(CDC_WAVE_SHARED_PATHS ) )
102102WAVE_DEPS_providers := $(call LIST_TRACKED_FILES,$(WAVE_PATHS_providers ) )
103103WAVE_DEPS_storage-canon := $(call LIST_TRACKED_FILES,$(WAVE_PATHS_storage-canon ) )
104- WAVE_DEPS_e2e-core := $(call LIST_TRACKED_FILES,$(WAVE_PATHS_e2e-core ) )
104+ WAVE_DEPS_e2e := $(call LIST_TRACKED_FILES,$(WAVE_PATHS_e2e ) )
105105WAVE_DEPS_evolution := $(call LIST_TRACKED_FILES,$(WAVE_PATHS_evolution ) )
106106WAVE_DEPS_resume := $(call LIST_TRACKED_FILES,$(WAVE_PATHS_resume ) )
107107WAVE_DEPS_large := $(call LIST_TRACKED_FILES,$(WAVE_PATHS_large ) )
108108COMMON_OPTIONAL_WAVE_DEPS := Makefile go.mod go.sum $(CDC_OPTIONAL_SUITE_MANIFEST ) $(call LIST_TRACKED_FILES,$(CDC_OPTIONAL_WAVE_SHARED_PATHS ) )
109109OPTIONAL_WAVE_DEPS_optional-queues := $(call LIST_TRACKED_FILES,$(OPTIONAL_WAVE_PATHS_optional-queues ) )
110110OPTIONAL_WAVE_DEPS_optional-connectors := $(call LIST_TRACKED_FILES,$(OPTIONAL_WAVE_PATHS_optional-connectors ) )
111111OPTIONAL_WAVE_DEPS_optional-clickhouse-source := $(call LIST_TRACKED_FILES,$(OPTIONAL_WAVE_PATHS_optional-clickhouse-source ) )
112- MATRIX_CACHE_SHARED_PATHS := library pkg vendor_patched tools/testmatrix tests/e2e-core tests/evolution tests/large
112+ MATRIX_CACHE_SHARED_PATHS := library pkg vendor_patched tools/testmatrix tests/e2e tests/evolution tests/large
113113COMMON_MATRIX_DEPS := Makefile go.mod go.sum $(CDC_SUITE_MANIFEST ) $(MATRIX_CONTRACT ) $(call LIST_TRACKED_FILES,$(MATRIX_CACHE_SHARED_PATHS ) )
114114
115115# Define the `run-tests` target
@@ -200,7 +200,7 @@ test-list:
200200 @echo " Supported stream flow DB aliases: $( SUPPORTED_STREAM_FLOW_DBS) "
201201 @echo " Supported component DB names: $( SUPPORTED_COMPONENT_DBS) "
202202 @echo " Examples:"
203- @echo " make test-layer LAYER=e2e-core DB=pg2ch"
203+ @echo " make test-layer LAYER=e2e DB=pg2ch"
204204 @echo " make test-layer-all LAYER=resume"
205205 @echo " make test-db DB=mysql2ch"
206206 @echo " make test-core"
@@ -687,7 +687,7 @@ test-layer:
687687 * ) echo " Unsupported DB alias: $$ db. Use one of: $( SUPPORTED_FLOW_DBS) $( SUPPORTED_STREAM_FLOW_DBS) " ; exit 1 ;; \
688688 esac ; \
689689 case " $$ layer" in \
690- e2e-core ) suite_group=" tests/e2e-core " ; suite_path=" $$ db" ;; \
690+ e2e) suite_group=" tests/e2e" ; suite_path=" $$ db" ;; \
691691 evolution| resume| large) suite_group=" tests" ; suite_path=" $$ layer/$$ db" ;; \
692692 canon) [[ " $$ db" == " kafka2ch" ]] && { echo " canon layer is not defined for $$ db" ; exit 1; }; suite_group=" tests" ; suite_path=" canon/$$ source_db" ;; \
693693 storage) [[ " $$ db" == " kafka2ch" ]] && { echo " storage layer is not defined for $$ db" ; exit 1; }; suite_group=" tests" ; suite_path=" storage/$$ source_db" ;; \
@@ -719,12 +719,12 @@ test-layer-optional:
719719 kafka2ch| eventhub2ch| kinesis2ch| airbyte2ch| oracle2ch| ch2ch) ;; \
720720 * ) echo " Unsupported optional DB alias: $$ db. Use one of: $( SUPPORTED_OPTIONAL_FLOW_DBS) " ; exit 1 ;; \
721721 esac ; \
722- $(MAKE ) run-tests SUITE_GROUP=" tests/e2e-optional " SUITE_PATH=" $$ db" SUITE_NAME=" e2e-optional -$$ db" GO_TEST_ARGS=" $( MATRIX_GO_TEST_ARGS) "
722+ $(MAKE ) run-tests SUITE_GROUP=" tests/e2e" SUITE_PATH=" $$ db" SUITE_NAME=" e2e-$$ db" GO_TEST_ARGS=" $( MATRIX_GO_TEST_ARGS) "
723723
724724.PHONY : test-db
725725test-db :
726726 @set -euo pipefail; \
727- for layer in storage canon e2e-core evolution resume large; do \
727+ for layer in storage canon e2e evolution resume large; do \
728728 echo " === layer=$$ layer db=$( DB) ===" ; \
729729 $(MAKE ) test-layer LAYER=" $$ layer" DB=" $( DB) " ; \
730730 done
@@ -736,7 +736,7 @@ test-core:
736736 echo " === core db=$$ db ===" ; \
737737 $(MAKE ) test-layer LAYER=storage DB=" $$ db" ; \
738738 $(MAKE ) test-layer LAYER=canon DB=" $$ db" ; \
739- $(MAKE ) test-layer LAYER=e2e-core DB=" $$ db" ; \
739+ $(MAKE ) test-layer LAYER=e2e DB=" $$ db" ; \
740740 $(MAKE ) test-layer LAYER=resume DB=" $$ db" ; \
741741 done
742742
0 commit comments