Skip to content

Commit

Permalink
disable the auth load benchmark test to prevent it from running all t…
Browse files Browse the repository at this point in the history
…he time

Signed-off-by: Omer Lachish <[email protected]>
  • Loading branch information
rauchy committed Oct 3, 2024
1 parent ef1267f commit 86f3f8b
Showing 1 changed file with 4 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,6 @@

import static org.junit.jupiter.api.Assertions.*;

import com.databricks.sdk.core.ConfigResolving;
import com.databricks.sdk.core.DatabricksConfig;
import com.databricks.sdk.core.commons.CommonsHttpClient;
import com.databricks.sdk.core.utils.GitHubUtils;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.*;

/*
Expand All @@ -16,9 +10,11 @@
Now that these endpoints are configured to retry upon receiving a 429 error, the test runs successfully.
However, since this test generates a large number of requests, it should be run manually rather than being included in CI processes.
*/
/*
public class DatabricksAuthLoadTest implements GitHubUtils, ConfigResolving {
// @Test
@Test
@Disabled
public void testConcurrentConfigBasicAuthAttrs() throws Exception {
int numThreads = 200;
ExecutorService executorService = Executors.newFixedThreadPool(numThreads);
Expand Down Expand Up @@ -74,3 +70,4 @@ public void testConcurrentConfigBasicAuthAttrs() throws Exception {
assertEquals(0, failureCount);
}
}
*/

0 comments on commit 86f3f8b

Please sign in to comment.