This is an automated email from the ASF dual-hosted git repository.
lindong pushed a commit to branch release-2.2
in repository https://gitbox.apache.org/repos/asf/flink-ml.git
The following commit(s) were added to refs/heads/release-2.2 by this push:
new 4ad12f89 [hotfix] Update pattern matching in test_ml_lib_completeness
to work with release branch
4ad12f89 is described below
commit 4ad12f8948a69dd168d1c00732e79d34b7703f21
Author: Dong Lin <[email protected]>
AuthorDate: Wed Apr 12 13:13:29 2023 +0800
[hotfix] Update pattern matching in test_ml_lib_completeness to work with
release branch
---
flink-ml-python/pyflink/ml/tests/test_ml_lib_completeness.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/flink-ml-python/pyflink/ml/tests/test_ml_lib_completeness.py
b/flink-ml-python/pyflink/ml/tests/test_ml_lib_completeness.py
index 2806e7bd..db59df0b 100644
--- a/flink-ml-python/pyflink/ml/tests/test_ml_lib_completeness.py
+++ b/flink-ml-python/pyflink/ml/tests/test_ml_lib_completeness.py
@@ -50,7 +50,7 @@ class MLLibTest(PyFlinkMLTestCase):
this_directory, "../../../../flink-ml-lib"))
paths = glob.glob(os.path.join(
- FLINK_ML_LIB_SOURCE_PATH, "target", "flink-ml-lib-*.jar"))[0]
+ FLINK_ML_LIB_SOURCE_PATH, "target", "flink-ml-lib-*.jar"))
paths = [path for path in paths if "test" not in path]
if len(paths) != 1:
raise Exception("The number of matched paths " + str(paths) + " is
unexpected.")