Skip to content

Commit 4e3841d

Browse files
committed
Add Sub & Endpoint Info to the Test Start Info
1 parent 2344add commit 4e3841d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/ServiceManagementTest.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,9 @@ public static void SetTestSettings()
294294

295295
protected void StartTest(string testname, DateTime testStartTime)
296296
{
297-
Console.WriteLine("{0} test starts at {1}", testname, testStartTime);
297+
string subId = defaultAzureSubscription.SubscriptionId;
298+
string endPoint = defaultAzureSubscription.ServiceEndpoint;
299+
Console.WriteLine("{0} test starts at {1} for subscription {2} and endpoint {3}", testname, testStartTime, subId, endPoint);
298300
}
299301

300302
private static void Retry(string cmdlet, string message, int maxTry = 1, int intervalSecond = 10)

0 commit comments

Comments
 (0)