@@ -24,7 +24,7 @@ public class AdlaTests : AdlaTestsBase
24
24
[ Trait ( Category . AcceptanceType , Category . CheckIn ) ]
25
25
public void TestAdlaAccount ( )
26
26
{
27
- RunPowerShellTest (
27
+ RunPowerShellTest ( true ,
28
28
string . Format (
29
29
"Test-DataLakeAnalyticsAccount -resourceGroupName {0} -accountName {1} -dataLakeAccountName {2} -secondDataLakeAccountName {3} -blobAccountName {4} -blobAccountKey {5} -location '{6}'" ,
30
30
this . resourceGroupName , this . dataLakeAnalyticsAccountName , this . dataLakeStoreAccountName ,
@@ -36,7 +36,7 @@ public void TestAdlaAccount()
36
36
[ Trait ( Category . AcceptanceType , Category . CheckIn ) ]
37
37
public void TestAdlaCatalog ( )
38
38
{
39
- RunPowerShellTest (
39
+ RunPowerShellTest ( false ,
40
40
string . Format (
41
41
"Test-DataLakeAnalyticsCatalog -resourceGroupName {0} -accountName {1} -dataLakeAccountName {2} -databaseName {3} -tableName {4} -tvfName {5} -viewName {6} -procName {7} -secretName {8} -secretPwd {9} -credentialName {10} -location '{11}'" ,
42
42
this . resourceGroupName , this . dataLakeAnalyticsAccountName , this . dataLakeStoreAccountName ,
@@ -49,21 +49,33 @@ public void TestAdlaCatalog()
49
49
[ Trait ( Category . AcceptanceType , Category . CheckIn ) ]
50
50
public void TestAdlaJob ( )
51
51
{
52
- RunPowerShellTest ( string . Format ( "Test-DataLakeAnalyticsJob -resourceGroupName {0} -accountName {1} -dataLakeAccountName {2} -location '{3}'" , this . resourceGroupName , this . dataLakeAnalyticsAccountName , this . dataLakeStoreAccountName , AdlaTestsBase . resourceGroupLocation ) ) ;
52
+ RunPowerShellTest ( false ,
53
+ string . Format (
54
+ "Test-DataLakeAnalyticsJob -resourceGroupName {0} -accountName {1} -dataLakeAccountName {2} -location '{3}'" ,
55
+ this . resourceGroupName , this . dataLakeAnalyticsAccountName , this . dataLakeStoreAccountName ,
56
+ AdlaTestsBase . resourceGroupLocation ) ) ;
53
57
}
54
58
55
59
[ Fact ]
56
60
[ Trait ( Category . AcceptanceType , Category . CheckIn ) ]
57
61
public void TestNegativeAdlaAccount ( )
58
62
{
59
- RunPowerShellTest ( string . Format ( "Test-NegativeDataLakeAnalyticsAccount -resourceGroupName {0} -accountName {1} -dataLakeAccountName {2} -location '{3}'" , this . resourceGroupName , this . dataLakeAnalyticsAccountName , this . dataLakeStoreAccountName , AdlaTestsBase . resourceGroupLocation ) ) ;
63
+ RunPowerShellTest ( false ,
64
+ string . Format (
65
+ "Test-NegativeDataLakeAnalyticsAccount -resourceGroupName {0} -accountName {1} -dataLakeAccountName {2} -location '{3}'" ,
66
+ this . resourceGroupName , this . dataLakeAnalyticsAccountName , this . dataLakeStoreAccountName ,
67
+ AdlaTestsBase . resourceGroupLocation ) ) ;
60
68
}
61
69
62
70
[ Fact ]
63
71
[ Trait ( Category . AcceptanceType , Category . CheckIn ) ]
64
72
public void TestNegativeAdlaJob ( )
65
73
{
66
- RunPowerShellTest ( string . Format ( "Test-NegativeDataLakeAnalyticsJob -resourceGroupName {0} -accountName {1} -dataLakeAccountName {2} -location '{3}'" , this . resourceGroupName , this . dataLakeAnalyticsAccountName , this . dataLakeStoreAccountName , AdlaTestsBase . resourceGroupLocation ) ) ;
74
+ RunPowerShellTest ( false ,
75
+ string . Format (
76
+ "Test-NegativeDataLakeAnalyticsJob -resourceGroupName {0} -accountName {1} -dataLakeAccountName {2} -location '{3}'" ,
77
+ this . resourceGroupName , this . dataLakeAnalyticsAccountName , this . dataLakeStoreAccountName ,
78
+ AdlaTestsBase . resourceGroupLocation ) ) ;
67
79
}
68
80
}
69
81
}
0 commit comments