Skip to content

Commit 49bffe2

Browse files
author
maddieclayton
authored
Merge pull request Azure#5112 from ro-joowan/job-param-2
[ADLA] - Minor update on tests
2 parents bc2cbec + 64a69b7 commit 49bffe2

File tree

4 files changed

+9971
-738
lines changed

4 files changed

+9971
-738
lines changed

src/ResourceManager/DataLakeAnalytics/Commands.DataLakeAnalytics.Test/ScenarioTests/AdlaAliasTests.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -645,6 +645,7 @@ function Test-DataLakeAnalyticsJob
645645
# Wait for the job to finish and then confirm the script
646646
$jobInfo = Wait-AdlJob -Account $accountName -JobId $jobInfo.JobId
647647
Assert-NotNull {$jobInfo}
648+
Assert-AreEqual "Succeeded" $jobInfo.Result
648649
Assert-AreEqual $expectedScript $jobInfo.Properties.Script
649650

650651
# Delete the DataLakeAnalytics account

src/ResourceManager/DataLakeAnalytics/Commands.DataLakeAnalytics.Test/ScenarioTests/AdlaTests.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -531,6 +531,7 @@ function Test-DataLakeAnalyticsJob
531531
# Wait for the job to finish and then confirm the script
532532
$jobInfo = Wait-AdlJob -Account $accountName -JobId $jobInfo.JobId
533533
Assert-NotNull {$jobInfo}
534+
Assert-AreEqual "Succeeded" $jobInfo.Result
534535
Assert-AreEqual $expectedScript $jobInfo.Properties.Script
535536

536537
# Delete the DataLakeAnalytics account

0 commit comments

Comments
 (0)