Skip to content

Commit

Permalink
Disable proxy test
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-japatel committed Nov 8, 2023
1 parent c152ac2 commit c594988
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions test/test_verify.py
Original file line number Diff line number Diff line change
Expand Up @@ -495,30 +495,30 @@ def runTestSet(driver, testSet, nameSalt, enable_stress_test):

############################ Proxy End To End Test ############################

from test_suit.test_string_json_proxy import TestStringJsonProxy
from test_suites import EndToEndTestSuite

print(datetime.now().strftime("\n%H:%M:%S "), "=== Last Round: Proxy E2E Test ===")
print("Proxy Test should be the last test, since it modifies the JVM values")

proxy_tests_suite = [EndToEndTestSuite(
test_instance=TestStringJsonProxy(driver, nameSalt), clean=True, run_in_confluent=True, run_in_apache=True
)]

end_to_end_proxy_tests_suite = [single_end_to_end_test.test_instance for single_end_to_end_test in proxy_tests_suite]

proxy_suite_clean_enable_list = [single_end_to_end_test.clean for single_end_to_end_test in proxy_tests_suite]

proxy_suite_runner = []

if testSet == "confluent":
proxy_suite_runner = [single_end_to_end_test.run_in_confluent for single_end_to_end_test in proxy_tests_suite]
elif testSet == "apache":
proxy_suite_runner = [single_end_to_end_test.run_in_apache for single_end_to_end_test in proxy_tests_suite]
elif testSet != "clean":
errorExit("Unknown testSet option {}, please input confluent, apache or clean".format(testSet))

execution(testSet, end_to_end_proxy_tests_suite, proxy_suite_clean_enable_list, proxy_suite_runner, driver, nameSalt)
# from test_suit.test_string_json_proxy import TestStringJsonProxy
# from test_suites import EndToEndTestSuite
#
# print(datetime.now().strftime("\n%H:%M:%S "), "=== Last Round: Proxy E2E Test ===")
# print("Proxy Test should be the last test, since it modifies the JVM values")
#
# proxy_tests_suite = [EndToEndTestSuite(
# test_instance=TestStringJsonProxy(driver, nameSalt), clean=True, run_in_confluent=True, run_in_apache=True
# )]
#
# end_to_end_proxy_tests_suite = [single_end_to_end_test.test_instance for single_end_to_end_test in proxy_tests_suite]
#
# proxy_suite_clean_enable_list = [single_end_to_end_test.clean for single_end_to_end_test in proxy_tests_suite]
#
# proxy_suite_runner = []
#
# if testSet == "confluent":
# proxy_suite_runner = [single_end_to_end_test.run_in_confluent for single_end_to_end_test in proxy_tests_suite]
# elif testSet == "apache":
# proxy_suite_runner = [single_end_to_end_test.run_in_apache for single_end_to_end_test in proxy_tests_suite]
# elif testSet != "clean":
# errorExit("Unknown testSet option {}, please input confluent, apache or clean".format(testSet))
#
# execution(testSet, end_to_end_proxy_tests_suite, proxy_suite_clean_enable_list, proxy_suite_runner, driver, nameSalt)
############################ Proxy End To End Test End ############################


Expand Down

0 comments on commit c594988

Please sign in to comment.