Skip to content

Commit

Permalink
Fix test cases.
Browse files Browse the repository at this point in the history
  • Loading branch information
style95 committed May 25, 2022
1 parent a3dd851 commit db247e0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import org.testcontainers.containers.MongoDBContainer
import pureconfig.loadConfigOrThrow
import pureconfig.generic.auto._

import scala.reflect.{ClassTag, classTag}
import scala.reflect.{classTag, ClassTag}

trait MongoDBStoreBehaviorBase extends FlatSpec with ArtifactStoreBehaviorBase {
val imageName = loadConfigOrThrow[String]("whisk.mongodb.docker-image")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ import org.apache.openwhisk.core.entity._
import org.apache.openwhisk.core.entity.size._
import org.apache.openwhisk.core.etcd.EtcdKV.ContainerKeys.{existingContainers, inProgressContainer}
import org.apache.openwhisk.core.etcd._
import org.apache.openwhisk.core.scheduler.SchedulingConfig
import org.apache.openwhisk.core.scheduler.grpc.{GetActivation, ActivationResponse => GetActivationResponse}
import org.apache.openwhisk.core.scheduler.message.{ContainerCreation, FailedCreationJob, SuccessfulCreationJob}
import org.apache.openwhisk.core.scheduler.queue.MemoryQueue.checkToDropStaleActivation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ import org.apache.openwhisk.core.service.{
}
import org.scalamock.scalatest.MockFactory

import scala.concurrent.duration.{DurationInt, FiniteDuration}
import scala.concurrent.duration.{DurationInt}
import scala.concurrent.{ExecutionContextExecutor, Future}
import scala.language.{higherKinds, postfixOps}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package org.apache.openwhisk.core.scheduler.queue.test

import java.util.concurrent.atomic.AtomicInteger

import akka.actor.ActorSystem
import akka.testkit.{TestKit, TestProbe}
import common.StreamLogging
Expand All @@ -11,6 +10,8 @@ import org.apache.openwhisk.core.scheduler.queue._
import org.scalatest.concurrent.ScalaFutures
import org.scalatest.{FlatSpecLike, Matchers}

import scala.concurrent.duration.DurationInt

class SchedulingDecisionMakerTests
extends TestKit(ActorSystem("SchedulingDecisionMakerTests"))
with FlatSpecLike
Expand Down

0 comments on commit db247e0

Please sign in to comment.