Skip to content

Commit 435358c

Browse files
committed
Fixing issue with hdinsight tests
1 parent 1b66abb commit 435358c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Common/Commands.ScenarioTests.Common/EnvironmentSetupHelper.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,11 @@ public class EnvironmentSetupHelper
4141

4242
public EnvironmentSetupHelper()
4343
{
44-
AzureSession.DataStore = new MockDataStore();
44+
var datastore = new MockDataStore();
45+
AzureSession.DataStore = datastore;
4546
var profile = new AzureProfile(Path.Combine(AzureSession.ProfileDirectory, AzureSession.ProfileFile));
4647
AzurePSCmdlet.CurrentProfile = profile;
48+
AzureSession.DataStore = datastore;
4749
ProfileClient = new ProfileClient(profile);
4850

4951
// Ignore SSL errors

0 commit comments

Comments
 (0)