summaryrefslogtreecommitdiffhomepage
path: root/test/unit/applications/lang
diff options
context:
space:
mode:
authorKonstantin Pavlov <thresh@nginx.com>2023-03-27 13:16:47 -0700
committerKonstantin Pavlov <thresh@nginx.com>2023-03-27 13:16:47 -0700
commite242b1454dff7a6be17ed2e2c06884fec528ad1b (patch)
tree66a5cc4839022ee59df7a052cdd1a14da3c214f8 /test/unit/applications/lang
parent565dcbb13987d32436993827b1eac0c4eceb42fa (diff)
downloadunit-e242b1454dff7a6be17ed2e2c06884fec528ad1b.tar.gz
unit-e242b1454dff7a6be17ed2e2c06884fec528ad1b.tar.bz2
Tests: relaxed jar glob.
We install jars with names like websocket-api-${NXT_JAVA_MODULE}-$NXT_VERSION.jar, which translates to versioned NXT_JAVA_MODULE in the packaging system, e.g. websocket-api-java11-1.30.0.jar.
Diffstat (limited to 'test/unit/applications/lang')
-rw-r--r--test/unit/applications/lang/java.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/applications/lang/java.py b/test/unit/applications/lang/java.py
index cd955974..b6382cfe 100644
--- a/test/unit/applications/lang/java.py
+++ b/test/unit/applications/lang/java.py
@@ -56,7 +56,7 @@ class TestApplicationJava(TestApplicationProto):
)
ws_jars = glob.glob(
- f'{option.current_dir}/build/websocket-api-java-*.jar'
+ f'{option.current_dir}/build/websocket-api-java*.jar'
)
if not ws_jars: