From 15666bd971572b832ff04745d679bc9fb0a7e522 Mon Sep 17 00:00:00 2001 From: Frank Liu Date: Thu, 10 Jun 2021 15:16:41 -0700 Subject: [PATCH] Fix model zoo test typo Change-Id: I7c0109c6e5fc0ece16288082fd830718f20ad489 --- .../java/ai/djl/integration/tests/model_zoo/ModelZooTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration/src/main/java/ai/djl/integration/tests/model_zoo/ModelZooTest.java b/integration/src/main/java/ai/djl/integration/tests/model_zoo/ModelZooTest.java index e69b33e0804..b45ba290388 100644 --- a/integration/src/main/java/ai/djl/integration/tests/model_zoo/ModelZooTest.java +++ b/integration/src/main/java/ai/djl/integration/tests/model_zoo/ModelZooTest.java @@ -52,7 +52,7 @@ public void testDownloadModels() throws IOException, ModelException { if (!Boolean.getBoolean("nightly") || Boolean.getBoolean("offline")) { throw new SkipException("Weekly only"); } - if (Calendar.SATURDAY == Calendar.getInstance().get(Calendar.DAY_OF_WEEK)) { + if (Calendar.SATURDAY != Calendar.getInstance().get(Calendar.DAY_OF_WEEK)) { throw new SkipException("Weekly only"); }