Lines Matching +full:module +full:- +full:path +full:- +full:tests
2 """Run Integ Tests based on the changed files
7 # Minimal modules to tests when core changes are detected.
8 # s3 - xml, dynamodb - json, sqs - query
11 # Minimal modules to tests when http client changes are detected.
12 # s3 - streaming/non streaming, kinesis - h2
14 "apache-client": ["s3", "apache-client"],
15 "netty-nio-client": ["kinesis", "s3", "netty-nio-client"],
16 "url-connection-client": ["url-connection-client"]
23 process = Popen(["git", "diff", "HEAD^", "--name-only"], stdout=PIPE)
33 Parse the changed file path and get the respective module names
35 path = file_path.split('/')
37 # filter out non-java file
38 if not path[-1].endswith(".java"):
41 top_directory = path[0]
45 if top_directory in ["http-clients"]:
46 return http_modules_to_test.get(path[1])
48 return path[1]
52 Run integration tests for the given modules
54 print("Running integ tests in the following modules: " + ', '.join(modules))
61 modules_to_include = modules_to_include[:-1]
64 check_call(["mvn", "clean", "install", "-pl", modules_to_include, "-P", "quick", "--am"])
65 …check_call(["mvn", "verify", "-pl", modules_to_include, "-P", "integration-tests", "-Dfailsafe.rer…
71 module = get_modules(d) variable
72 if isinstance(module, list):
73 modules.update(module)
74 elif module:
75 modules.add(module)
80 print("No modules configured to run. Skipping integ tests")