Skip to content

Commit

Permalink
Add Accord library to Byteman classpath
Browse files Browse the repository at this point in the history
patch by Youki Shiraishi; reviewed by Caleb Rackliffe for CASSANDRA-18223
  • Loading branch information
stonewhitener authored and maedhroz committed Feb 20, 2023
1 parent bfec30a commit 33ff84a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions read_repair_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit 33ff84a

Please sign in to comment.