diff options
author | Konstantin Pavlov <thresh@nginx.com> | 2023-03-27 13:16:47 -0700 |
---|---|---|
committer | Konstantin Pavlov <thresh@nginx.com> | 2023-03-27 13:16:47 -0700 |
commit | e242b1454dff7a6be17ed2e2c06884fec528ad1b (patch) | |
tree | 66a5cc4839022ee59df7a052cdd1a14da3c214f8 /test | |
parent | 565dcbb13987d32436993827b1eac0c4eceb42fa (diff) | |
download | unit-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')
-rw-r--r-- | test/unit/applications/lang/java.py | 2 |
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: |