Skip to content

Commit

Permalink
fix integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
LizBaldo committed Feb 14, 2025
1 parent 3bd1ec9 commit 7c58ad6
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -174,9 +174,8 @@ class RuntimeCreationDiskSpec extends BillingProjectFixtureSpec with ParallelTes
_ <- IO(disk.size shouldBe diskSize)
_ <- LeonardoApiClient.deleteDiskWithWait(googleProject, diskName)
listofDisks <- LeonardoApiClient.listDisk(googleProject)
} yield listofDisks.collect { case resp if resp.name == diskName => resp.status } shouldBe List(
DiskStatus.Deleted
) // assume we won't have multiple disks with same name in the same project in tests
} yield listofDisks.collect { case resp if resp.name == diskName => resp.status } shouldBe List.empty
// assume we won't have multiple disks with same name in the same project in tests
}
res.unsafeRunSync()(cats.effect.unsafe.IORuntime.global)
}
Expand Down

0 comments on commit 7c58ad6

Please sign in to comment.