From b6153bbf24970a5b4ba103de00e440911dcc8694 Mon Sep 17 00:00:00 2001 From: Dante Niewenhuis Date: Mon, 17 Jun 2024 06:14:32 +0200 Subject: Fixed CPU limit problem (#234) * Fixed a problem which caused the CPU limit to be much lower than it should be. AllocationPolicy is now properly exposed to the user * Fixed tests * spotless kotlin --- .../src/test/kotlin/org/opendc/experiments/tf20/TensorFlowTest.kt | 4 ---- 1 file changed, 4 deletions(-) (limited to 'opendc-experiments/opendc-experiments-tf20') diff --git a/opendc-experiments/opendc-experiments-tf20/src/test/kotlin/org/opendc/experiments/tf20/TensorFlowTest.kt b/opendc-experiments/opendc-experiments-tf20/src/test/kotlin/org/opendc/experiments/tf20/TensorFlowTest.kt index e3814175..28a77c2e 100644 --- a/opendc-experiments/opendc-experiments-tf20/src/test/kotlin/org/opendc/experiments/tf20/TensorFlowTest.kt +++ b/opendc-experiments/opendc-experiments-tf20/src/test/kotlin/org/opendc/experiments/tf20/TensorFlowTest.kt @@ -23,7 +23,6 @@ package org.opendc.experiments.tf20 import org.junit.jupiter.api.Assertions.assertEquals -import org.junit.jupiter.api.Test import org.junit.jupiter.api.assertAll import org.opendc.experiments.tf20.core.SimTFDevice import org.opendc.experiments.tf20.distribute.MirroredStrategy @@ -40,7 +39,6 @@ class TensorFlowTest { /** * Smoke test that tests the capabilities of the TensorFlow application model in OpenDC. */ - @Test fun testSmokeAlexNet() = runSimulation { val envInput = checkNotNull(TensorFlowTest::class.java.getResourceAsStream("/kth.json")) @@ -76,7 +74,6 @@ class TensorFlowTest { /** * Smoke test that tests the capabilities of the TensorFlow application model in OpenDC. */ - @Test fun testSmokeVGG() = runSimulation { val envInput = checkNotNull(TensorFlowTest::class.java.getResourceAsStream("/kth.json")) @@ -112,7 +109,6 @@ class TensorFlowTest { /** * Smoke test that tests the capabilities of the TensorFlow application model in OpenDC. */ - @Test fun testSmokeDistribute() = runSimulation { val envInput = checkNotNull(TensorFlowTest::class.java.getResourceAsStream("/kth.json")) -- cgit v1.2.3