Skip to content

Commit

Permalink
Changed test file
Browse files Browse the repository at this point in the history
  • Loading branch information
subhash-arabhi committed Dec 11, 2024
1 parent 0877007 commit f060d25
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,14 +107,14 @@ public void run() {
LOG.info("lock file exists" + lock);
for (int i = 0; i < 500; i++) {
LOG.info(i + ": testing its size: " + lock.length());
if (lock.length() >= 14) {
if (lock.length() >= 68) {
break;
}
Thread.sleep(500);
}
assertTrue("Lock must contain the key now: " + lock.length(), lock.length() >= 14);//fail("Ok");
assertTrue("Lock must contain the key now: " + lock.length(), lock.length() >= 68);//fail("Ok");

final byte[] arr = new byte[10]; // CLIHandler.KEY_LENGTH
final byte[] arr = new byte[64]; // CLIHandler.KEY_LENGTH
DataInputStream is = new DataInputStream(new FileInputStream(lock));
final int port = is.readInt();
int read = is.read(arr);
Expand Down

0 comments on commit f060d25

Please sign in to comment.