Skip to content

Commit

Permalink
change test
Browse files Browse the repository at this point in the history
  • Loading branch information
potatoqualitee committed Jun 29, 2024
1 parent f02007f commit 670ae5b
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions tests/finetuna.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,9 @@ Describe "finetuna Module Tests" {

Context "Wait-TuneJob" {
It "Should wait for a fine-tuning job to complete" {
$job = Get-TuneJob | Where-Object { $_.status -eq 'pending' } | Select-Object -First 1
if ($job) {
$result = Wait-TuneJob -JobId $job.id
$result.status | Should -Be 'succeeded'
}
$job = Get-TuneJob | Select-Object -First 1
$result = Wait-TuneJob -JobId $job.id
$result.status | Should -Be 'succeeded'
}
}

Expand Down

0 comments on commit 670ae5b

Please sign in to comment.