@@ -2,10 +2,10 @@ NAME := $(or $(NAME),$(NAME),selenium)
22CURRENT_DATE := $(shell date '+% Y% m% d')
33BUILD_DATE := $(or $(BUILD_DATE ) ,$(BUILD_DATE ) ,$(CURRENT_DATE ) )
44BASE_RELEASE := $(or $(BASE_RELEASE ) ,$(BASE_RELEASE ) ,selenium-4.18.0)
5- BASE_VERSION := $(or $(BASE_VERSION ) ,$(BASE_VERSION ) ,4.18.0 )
5+ BASE_VERSION := $(or $(BASE_VERSION ) ,$(BASE_VERSION ) ,4.18.1 )
66BASE_RELEASE_NIGHTLY := $(or $(BASE_RELEASE_NIGHTLY ) ,$(BASE_RELEASE_NIGHTLY ) ,nightly)
77BASE_VERSION_NIGHTLY := $(or $(BASE_VERSION_NIGHTLY ) ,$(BASE_VERSION_NIGHTLY ) ,4.19.0-SNAPSHOT)
8- VERSION := $(or $(VERSION ) ,$(VERSION ) ,4.18.0 )
8+ VERSION := $(or $(VERSION ) ,$(VERSION ) ,4.18.1 )
99TAG_VERSION := $(VERSION ) -$(BUILD_DATE )
1010CHART_VERSION_NIGHTLY := $(or $(CHART_VERSION_NIGHTLY ) ,$(CHART_VERSION_NIGHTLY ) ,1.0.0-nightly)
1111NAMESPACE := $(or $(NAMESPACE ) ,$(NAMESPACE ) ,$(NAME ) )
@@ -506,6 +506,7 @@ test_firefox:
506506test_firefox_standalone :
507507 VERSION=$(TAG_VERSION ) NAMESPACE=$(NAMESPACE ) ./tests/bootstrap.sh StandaloneFirefox
508508
509+ <<<<<<< HEAD
509510
510511# Test multi-arch container images
511512test_multi_arch : test_chromium_multi \
@@ -526,6 +527,20 @@ test_firefox_multi:
526527test_firefox_standalone_multi :
527528 VERSION=$(TAG_VERSION ) NAMESPACE=$(NAMESPACE ) ./tests/bootstrap.sh StandaloneFirefox
528529
530+ ====== =
531+ test_parallel : hub chrome firefox edge
532+ for node in DeploymentAutoscaling JobAutoscaling ; do \
533+ cd ./tests || true ; \
534+ echo TAG=$(TAG_VERSION ) > .env ; \
535+ echo TEST_DRAIN_AFTER_SESSION_COUNT=$(or $(TEST_DRAIN_AFTER_SESSION_COUNT ) , 0) >> .env ; \
536+ echo TEST_PARALLEL_HARDENING=$(or $(TEST_PARALLEL_HARDENING ) , "false") >> .env ; \
537+ echo LOG_LEVEL=$(or $(LOG_LEVEL ) , "INFO") >> .env ; \
538+ echo REQUEST_TIMEOUT=$(or $(REQUEST_TIMEOUT ) , 300) >> .env ; \
539+ echo NODE=$$ node >> .env ; \
540+ echo UID=$$(id -u ) >> .env ; \
541+ docker-compose -f docker-compose-v3-test-parallel.yml up --no-log-prefix --exit-code-from tests --build ; \
542+ done
543+ >>>>>>> origin/4.18.1
529544
530545# This should run on its own CI job. There is no need to combine it with the other tests.
531546# Its main purpose is to check that a video file was generated.
@@ -593,16 +608,18 @@ chart_test_edge:
593608
594609chart_test_autoscaling_deployment_https :
595610 CHART_FULL_DISTRIBUTED_MODE=true CHART_ENABLE_INGRESS_HOSTNAME=true CHART_ENABLE_BASIC_AUTH=true SELENIUM_GRID_PROTOCOL=https SELENIUM_GRID_PORT=443 \
611+ SELENIUM_GRID_AUTOSCALING_MIN_REPLICA=1 \
596612 VERSION=$(TAG_VERSION ) VIDEO_TAG=$(FFMPEG_TAG_VERSION ) -$(BUILD_DATE ) NAMESPACE=$(NAMESPACE ) \
597613 ./tests/charts/make/chart_test.sh DeploymentAutoscaling
598614
599615chart_test_autoscaling_deployment :
600- CHART_ENABLE_TRACING=true SELENIUM_GRID_TEST_HEADLESS=true SELENIUM_GRID_HOST=$$(hostname -i ) \
616+ CHART_ENABLE_TRACING=true SELENIUM_GRID_TEST_HEADLESS=true SELENIUM_GRID_HOST=$$(hostname -i ) RELEASE_NAME=selenium \
617+ SELENIUM_GRID_AUTOSCALING_MIN_REPLICA=1 \
601618 VERSION=$(TAG_VERSION ) VIDEO_TAG=$(FFMPEG_TAG_VERSION ) -$(BUILD_DATE ) NAMESPACE=$(NAMESPACE ) \
602619 ./tests/charts/make/chart_test.sh DeploymentAutoscaling
603620
604621chart_test_autoscaling_job_https :
605- SELENIUM_GRID_TEST_HEADLESS=true SELENIUM_GRID_PROTOCOL=https CHART_ENABLE_BASIC_AUTH=true SELENIUM_GRID_PORT=443 \
622+ SELENIUM_GRID_TEST_HEADLESS=true SELENIUM_GRID_PROTOCOL=https CHART_ENABLE_BASIC_AUTH=true RELEASE_NAME=selenium SELENIUM_GRID_PORT=443 SUB_PATH=/ \
606623 VERSION=$(TAG_VERSION ) VIDEO_TAG=$(FFMPEG_TAG_VERSION ) -$(BUILD_DATE ) NAMESPACE=$(NAMESPACE ) \
607624 ./tests/charts/make/chart_test.sh JobAutoscaling
608625
@@ -612,7 +629,7 @@ chart_test_autoscaling_job_hostname:
612629 ./tests/charts/make/chart_test.sh JobAutoscaling
613630
614631chart_test_autoscaling_job :
615- CHART_ENABLE_TRACING=true CHART_FULL_DISTRIBUTED_MODE=true CHART_ENABLE_INGRESS_HOSTNAME=true \
632+ CHART_ENABLE_TRACING=true CHART_FULL_DISTRIBUTED_MODE=true CHART_ENABLE_INGRESS_HOSTNAME=true SELENIUM_GRID_HOST=selenium-grid.local RELEASE_NAME=selenium SUB_PATH=/ \
616633 VERSION=$(TAG_VERSION ) VIDEO_TAG=$(FFMPEG_TAG_VERSION ) -$(BUILD_DATE ) NAMESPACE=$(NAMESPACE ) \
617634 ./tests/charts/make/chart_test.sh JobAutoscaling
618635
0 commit comments