From da28a051f459239d76dd39671eb821681abf9f32 Mon Sep 17 00:00:00 2001 From: Ali Younis Date: Fri, 6 Oct 2017 13:14:21 -0700 Subject: [PATCH] Fixes --- version2/src/java/iotcloud/CloudComm.java | 2 +- .../src/java/light_fan_embed_fake_benchmark/BulbSwitch.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/version2/src/java/iotcloud/CloudComm.java b/version2/src/java/iotcloud/CloudComm.java index f12c276..c08d4b2 100644 --- a/version2/src/java/iotcloud/CloudComm.java +++ b/version2/src/java/iotcloud/CloudComm.java @@ -21,7 +21,7 @@ import java.util.*; class CloudComm { private static final int SALT_SIZE = 8; - private static final int TIMEOUT_MILLIS = 2000; // 100 + private static final int TIMEOUT_MILLIS = 5000; // 100 public static final int IV_SIZE = 16; /** Sets the size for the HMAC. */ diff --git a/version2/src/java/light_fan_embed_fake_benchmark/BulbSwitch.java b/version2/src/java/light_fan_embed_fake_benchmark/BulbSwitch.java index 172446d..0955ff1 100644 --- a/version2/src/java/light_fan_embed_fake_benchmark/BulbSwitch.java +++ b/version2/src/java/light_fan_embed_fake_benchmark/BulbSwitch.java @@ -13,7 +13,7 @@ class BulbSwitch { t1.rebuild(); // update - String a = "bulb"; + String a = "bulb1"; String b = "fan"; IoTString ib = new IoTString(b); IoTString ia = new IoTString(a); -- 2.34.1