File: Makefile.citus

package info (click to toggle)
pg-auto-failover 2.2-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 5,220 kB
  • sloc: ansic: 58,374; python: 5,515; sql: 3,177; makefile: 624; sh: 35
file content (26 lines) | stat: -rw-r--r-- 752 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Default Citus Data version
CITUSTAG ?= v13.0.1

# Citus testing
CITUS = 0
WORKERS = 2
NODES_SECONDARY = 0

FIRST_PGPORT ?= 5600
CLUSTER_OPTS += --citus
TMUX_TOP_DIR = ./tmux/citus

# If this Makefile is included then we are only interested in Citus testing
ifeq ($(TEST),citus)
  TESTS_CITUS  = test_basic_citus_operation
  TESTS_CITUS += test_citus_cluster_name
  TESTS_CITUS += test_citus_force_failover
  TESTS_CITUS += test_citus_multi_standbys
  TESTS_CITUS += test_nonha_citus_operation
  TESTS_CITUS += test_citus_skip_pg_hba

  TEST_ARGUMENT = --where=tests --tests=$(TESTS_CITUS)
endif

# this target is defined and used later in the main Makefile
$(TMUX_SCRIPT): TMUX_CITUS=--citus-workers $(WORKERS) --citus-secondaries $(NODES_SECONDARY)