From 35466d40fffba9d5292a901c02105e249cb73277 Mon Sep 17 00:00:00 2001 From: Le Zhou <2428499107@qq.com> Date: Tue, 25 Oct 2022 15:57:04 +0800 Subject: [PATCH] Bugfix: UNSTABLE is also a kind of Alive (#87) --- .../com/microsoft/hydralab/common/entity/common/DeviceInfo.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/main/java/com/microsoft/hydralab/common/entity/common/DeviceInfo.java b/common/src/main/java/com/microsoft/hydralab/common/entity/common/DeviceInfo.java index 38721c861..76b39bc9f 100644 --- a/common/src/main/java/com/microsoft/hydralab/common/entity/common/DeviceInfo.java +++ b/common/src/main/java/com/microsoft/hydralab/common/entity/common/DeviceInfo.java @@ -97,7 +97,7 @@ public void reset() { } public boolean isAlive() { - return DeviceInfo.TESTING.equals(status) || DeviceInfo.ONLINE.equals(status); + return DeviceInfo.TESTING.equals(status) || DeviceInfo.ONLINE.equals(status) || DeviceInfo.UNSTABLE.equals(status); } public boolean isTesting() {