Skip to content

Commit

Permalink
Removing the databricks rapids test correct way
Browse files Browse the repository at this point in the history
  • Loading branch information
FMasudMsft committed Nov 12, 2024
1 parent af55f1b commit 7896dc3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,17 @@ package com.microsoft.azure.synapse.ml.nbtest

import com.microsoft.azure.synapse.ml.nbtest.DatabricksUtilities._

import com.microsoft.azure.synapse.ml.build.BuildInfo
import com.microsoft.azure.synapse.ml.core.env.FileUtilities
import com.microsoft.azure.synapse.ml.nbtest.DatabricksUtilities._

import java.io.File
import scala.collection.mutable.ListBuffer

class DatabricksRapidsTests extends DatabricksTestHelper {

val clusterId: String = createClusterInPool(GPUClusterName, AdbGpuRuntime, 1, GpuPoolId, RapidsInitScripts)

// We want to wait for 40 minutes for each test to complete
databricksTestHelper(clusterId, GPULibraries, RapidsNotebooks)

protected override def afterAll(): Unit = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ abstract class DatabricksTestHelper extends TestBase {
notebooks: Seq[File]): Unit = {

println("Checking if cluster is active")
tryWithRetries(Seq.fill(60 * 40)(1000).toArray) { () =>
tryWithRetries(Seq.fill(60 * 20)(1000).toArray) { () =>
assert(isClusterActive(clusterId))
}

Expand Down
2 changes: 0 additions & 2 deletions pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,6 @@ jobs:
TEST-CLASS: "com.microsoft.azure.synapse.ml.nbtest.DatabricksCPUTests"
databricks-gpu:
TEST-CLASS: "com.microsoft.azure.synapse.ml.nbtest.DatabricksGPUTests"
databricks-rapids:
TEST-CLASS: "com.microsoft.azure.synapse.ml.nbtest.DatabricksRapidsTests"
synapse:
TEST-CLASS: "com.microsoft.azure.synapse.ml.nbtest.SynapseTests"
# ${{ if eq(parameters.runSynapseExtensionE2ETests, true) }}:
Expand Down

0 comments on commit 7896dc3

Please sign in to comment.