Test case details
Test name:
OfficeDevPnP.Core.Tests.AppModelExtensions.Tenant15ExtensionsTests.CreateDeleteSiteCollectionTest
Outcome:
Run at:
2/10/2019 8:08:16 PM
Duration:
00:00:00
Error message:
Test method OfficeDevPnP.Core.Tests.AppModelExtensions.Tenant15ExtensionsTests.CreateDeleteSiteCollectionTest threw exception: Microsoft.SharePoint.Client.ServerException: Another site already exists at https://portal2013.pnp.com/sites/TestPnPSC_123456789. Delete this site before attempting to create a new site with the same URL, choose a new URL, or create a new inclusion at the path you originally specified.
Stacktrace:
at at Microsoft.SharePoint.Client.ClientRequest.ProcessResponseStream(Stream responseStream) at Microsoft.SharePoint.Client.ClientRequest.ProcessResponse() at Microsoft.SharePoint.Client.ClientRequest.ExecuteQueryToServer(ChunkStringBuilder sb) at Microsoft.SharePoint.Client.ClientRequest.ExecuteQuery() at Microsoft.SharePoint.Client.ClientRuntimeContext.ExecuteQuery() at Microsoft.SharePoint.Client.ClientContext.ExecuteQuery() at Microsoft.SharePoint.Client.ClientContextExtensions.ExecuteQueryImplementation(ClientRuntimeContext clientContext, Int32 retryCount, Int32 delay, String userAgent) in c:\pnpbuild\Core\OfficeDevPnP.Core\Extensions\ClientContextExtensions.cs:line 171 at Microsoft.SharePoint.Client.ClientContextExtensions.ExecuteQueryRetry(ClientRuntimeContext clientContext, Int32 retryCount, Int32 delay, String userAgent) in c:\pnpbuild\Core\OfficeDevPnP.Core\Extensions\ClientContextExtensions.cs:line 91 at Microsoft.SharePoint.Client.TenantExtensions.CreateSiteCollection(Tenant tenant, SiteEntity properties) in c:\pnpbuild\Core\OfficeDevPnP.Core\Extensions\TenantExtensions.cs:line 999 at OfficeDevPnP.Core.Tests.AppModelExtensions.Tenant15ExtensionsTests.CreateTestSiteCollection(Tenant tenant, String sitecollectionName) in c:\pnpbuild\Core\OfficeDevPnP.Core.Tests\Extensions\Tenant15ExtensionsTests.cs:line 119 at OfficeDevPnP.Core.Tests.AppModelExtensions.Tenant15ExtensionsTests.CreateDeleteSiteCollectionTest() in c:\pnpbuild\Core\OfficeDevPnP.Core.Tests\Extensions\Tenant15ExtensionsTests.cs:line 51
Console output: