Skip to content

Commit

Permalink
add port to annotation injection in code
Browse files Browse the repository at this point in the history
  • Loading branch information
kartikeytewari-ul committed Jun 24, 2024
1 parent d92eec4 commit 4b2bc15
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/test/python/Target.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

# define constants
main_method_identifier = "public static void main"
unlogged_annotation = "@Unlogged"
unlogged_annotation = "@Unlogged(port = " + "12100" + ")"
unlogged_import = "import io.unlogged.Unlogged;"

class ReplayTest:
Expand Down Expand Up @@ -174,6 +174,7 @@ def check_replay(self):
if (len(replay_fail) == 0):
print ("All tests passed succesfully")
return False

else:
print ("Replay tests have failed for " + self.test_repo_name + ". Fail count = " + str(len(replay_fail)))
for local_test in replay_fail:
Expand Down

0 comments on commit 4b2bc15

Please sign in to comment.