Skip to content

Commit

Permalink
Re enable AzureEngine tests due to fixes implemented by Azure Load Te…
Browse files Browse the repository at this point in the history
…sting team.
  • Loading branch information
rabelenda-abstracta committed Oct 17, 2023
1 parent 47db8f6 commit fcaefa1
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,13 @@
import static us.abstracta.jmeter.javadsl.core.listeners.AutoStopListener.AutoStopCondition.sampleTime;

import java.time.Duration;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import us.abstracta.jmeter.javadsl.core.TestPlanStats;
import us.abstracta.jmeter.javadsl.core.engines.AutoStoppedTestException;
import us.abstracta.jmeter.javadsl.util.TestResource;

public class AzureEngineIT {

@Disabled("This azure test is now reporting 0 samples counts, even though we get the sample "
+ "result in results file but general dashboard in Azure is reporting 0 as well. "
+ "We will disable it until we get an answer from Azure Load Testing support.")
@Test
public void shouldRunTestInAzure() throws Exception {
TestPlanStats stats = testPlan(
Expand All @@ -34,9 +30,6 @@ public void shouldRunTestInAzure() throws Exception {
assertThat(stats.overall().samplesCount()).isEqualTo(1);
}

@Disabled("For some reason when test run is cancelled, azure keeps it in cancelling state for "
+ "more than 10 minutes. Until we don't get an answer from Azure Load Testing team, and can "
+ "properly adapt associated logic, we will disable this test to avoid failing build")
@Test
public void shouldAutoStopTestWhenConditionIsMet() {
assertThrows(AutoStoppedTestException.class, () ->
Expand Down

0 comments on commit fcaefa1

Please sign in to comment.