@@ -25,7 +25,7 @@ def __init__(self, java_driver_git, scylla_install_dir, tag, tests, driver_type,
2525 self ._scylla_version = scylla_version
2626 self ._scylla_install_dir = scylla_install_dir
2727 self ._tests = tests
28- self ._report_path = self ._java_driver_git / "integration-tests" / "target" / "surefire -reports"
28+ self ._report_path = self ._java_driver_git / "integration-tests" / "target" / "failsafe -reports"
2929 if self ._tag .startswith ('3' ):
3030 self ._report_path = self ._java_driver_git / "driver-core" / "target" / "surefire-reports"
3131 self ._root_path = Path (__file__ ).parent
@@ -141,7 +141,7 @@ def run(self) -> ProcessJUnit:
141141
142142 tests_string = self ._tests
143143 if exclude_str := ',' .join (f"!{ ignore_element } " for ignore_element in self .ignore_tests ):
144- tests_string = f"{ exclude_str } ,{ tests_string } "
144+ tests_string = f"{ exclude_str } ,{ tests_string } " . rstrip ( ',' )
145145
146146 no_tty = '' if sys .stdout .isatty () else '-B'
147147
@@ -152,7 +152,12 @@ def run(self) -> ProcessJUnit:
152152 logging .info ("Starting build the version" )
153153 self ._run_command_in_shell (f"mvn { no_tty } install -DskipTests=true -Dmaven.javadoc.skip=true -V" )
154154
155- cmd = f"mvn { no_tty } -pl integration-tests -Dtest='{ tests_string } ' test"
155+
156+ cmd = f"mvn { no_tty } -pl integration-tests integration-test"
157+
158+ if tests_string :
159+ cmd += f" -Dit.test='{ tests_string } '"
160+
156161 if self ._tag .startswith ('3' ):
157162 cmd = f"mvn { no_tty } -pl driver-core -Dtest.groups='short,long' -Dtest='{ tests_string } ' test"
158163
0 commit comments