Skip to content

Commit

Permalink
Merge pull request #34 from Lombiq/issue/OSOE-46
Browse files Browse the repository at this point in the history
OSOE-46: Changing to InstanceCommandLineArgumentsBuilder
  • Loading branch information
sarahelsaig authored Oct 14, 2022
2 parents ade31a8 + 9a36b9a commit e34a3ef
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
</ItemGroup>

<ItemGroup Condition="'$(NuGetBuild)' == 'true'">
<PackageReference Include="Lombiq.Tests.UI" Version="3.5.2-alpha.nest-282.1" />
<PackageReference Include="Lombiq.Tests.UI" Version="3.5.1-alpha.osoe-46.6" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ public static void SetMaxIdleMinutesAndLoggingForUITest(
(_, argumentsBuilder) =>
{
argumentsBuilder
.Add("--OrchardCore:Lombiq_Hosting_Tenants_IdleTenantManagement:IdleShutdownOptions:MaxIdleMinutes")
.Add("1");
.AddWithValue(
"OrchardCore:Lombiq_Hosting_Tenants_IdleTenantManagement:IdleShutdownOptions:MaxIdleMinutes",
"1");

argumentsBuilder
.Add("--Logging:LogLevel:Default")
.Add("Information");
.AddWithValue("Logging:LogLevel:Default", "Information");

return Task.CompletedTask;
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ public static class TestCaseUITestContextExtensions
{
public static async Task TestIdleTenantManagerBehaviorAsync(this UITestContext context)
{
// We are letting the site to sit idle for more than a minute so that the
// We are letting the site to sit idle for more than two minutes so that the
// tenant could be shut down by the background task.
await Task.Delay(69420);
await Task.Delay(129420);

// If we can access the admin menu after the tenant shut down that means the new shell was created
// and it is working as intended.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
</ItemGroup>

<ItemGroup Condition="'$(NuGetBuild)' == 'true'">
<PackageReference Include="Lombiq.Tests.UI" Version="3.5.2-alpha.nest-282.1" />
<PackageReference Include="Lombiq.Tests.UI" Version="3.5.1-alpha.osoe-46.6" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit e34a3ef

Please sign in to comment.