Skip to content

Commit

Permalink
[Improve][E2E] Remove redundant jdbc e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
TyrantLucifer committed Feb 22, 2023
1 parent 8a86ba8 commit b6c2184
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions tools/update_modules_check/update_modules_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,17 +148,20 @@ def get_deleted_modules(files):
output_module = output_module[1:len(output_module)]
print(output_module)


def get_sub_it_modules(modules, total_num, current_num):
modules_arr = modules.split(",")
modules_arr.remove("connector-jdbc-e2e")
while "connector-jdbc-e2e" in modules_arr:
modules_arr.remove("connector-jdbc-e2e")
output = ""
for i,module in enumerate(modules_arr):
for i, module in enumerate(modules_arr):
if len(module) > 0 and i % int(total_num) == int(current_num):
output = output + ",:" + module

output = output[1:len(output)]
print(output)


def main(argv):
if argv[1] == "cv2":
get_cv2_modules(argv[2])
Expand Down Expand Up @@ -191,4 +194,4 @@ def main(argv):


if __name__ == "__main__":
main(sys.argv)
main(sys.argv)

0 comments on commit b6c2184

Please sign in to comment.