This is an automated email from the ASF dual-hosted git repository.

maedhroz pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/cassandra-dtest.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 33ff84a3 Add Accord library to Byteman classpath
33ff84a3 is described below

commit 33ff84a396c9d5b9a9be574be50dbb2ea9c9ded0
Author: Youki Shiraishi <[email protected]>
AuthorDate: Sun Feb 19 18:46:48 2023 +0900

    Add Accord library to Byteman classpath
    
    patch by Youki Shiraishi; reviewed by Caleb Rackliffe for CASSANDRA-18223
---
 read_repair_test.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/read_repair_test.py b/read_repair_test.py
index f58d9f50..fbdcaf35 100644
--- a/read_repair_test.py
+++ b/read_repair_test.py
@@ -34,6 +34,10 @@ def byteman_validate(node, script, verbose=False, opts=None):
         glob.glob(os.path.join(cdir, 'build', 'lib', 'jars', 
'byteman-[0-9]*.jar'))[0],
         os.path.join(cdir, 'build', '*'),
     ]
+
+    if os.path.exists(os.path.join(cdir, 'modules', 'accord')):
+        jars.append(glob.glob(os.path.join(cdir, 'modules', 'accord', 
'accord-core', 'build', 'libs', 'accord-core-[0-9].[0-9]-SNAPSHOT.jar'))[0])
+
     byteman_cmd.append(':'.join(jars))
     byteman_cmd.append('org.jboss.byteman.check.TestScript')
     byteman_cmd.append('-p')


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to