Skip to content

Commit 19e0ffb

Browse files
authored
Update RavenDB.Embedded to 5.4.207 (#4910)
* Adjust test to one week out instead of two * Update RavenDB.Embedded to 5.4.207
1 parent 21e6402 commit 19e0ffb

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

src/Directory.Packages.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
<PackageVersion Include="PropertyChanged.Fody" Version="4.1.0" />
6060
<PackageVersion Include="PropertyChanging.Fody" Version="1.30.3" />
6161
<PackageVersion Include="PublicApiGenerator" Version="11.1.0" />
62-
<PackageVersion Include="RavenDB.Embedded" Version="5.4.201" />
62+
<PackageVersion Include="RavenDB.Embedded" Version="5.4.207" />
6363
<PackageVersion Include="ReactiveUI.WPF" Version="20.1.1" />
6464
<PackageVersion Include="ServiceControl.Contracts" Version="5.0.0" />
6565
<PackageVersion Include="System.Configuration.ConfigurationManager" Version="8.0.1" />

src/ServiceControl.Audit.Persistence.Tests.RavenDB/LicenseTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public async Task EnsureLicenseIsValid()
3737
Assert.That(details.Status, Is.EqualTo("Commercial"));
3838
Assert.That(details.Expired, Is.False);
3939
Assert.That(details.Type, Is.EqualTo("Professional"));
40-
Assert.That(DateTime.UtcNow.AddDays(14), Is.LessThan(details.Expiration), $"The RavenDB license expires {details.Expiration} which is less than 2 weeks. Contact RavenDB at <[email protected]> for the new license.");
40+
Assert.That(DateTime.UtcNow.AddDays(7), Is.LessThan(details.Expiration), $"The RavenDB license expires {details.Expiration} which is less than one week. Contact RavenDB at <[email protected]> for the new license.");
4141
});
4242
}
4343
}

src/ServiceControl.RavenDB/EmbeddedDatabase.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,18 +57,19 @@ public static EmbeddedDatabase Start(EmbeddedDatabaseConfiguration databaseConfi
5757
{
5858
CommandLineArgs =
5959
[
60-
$"--License.Path=\"{licenseFileNameAndServerDirectory.LicenseFileName}\"",
6160
$"--Logs.Mode={databaseConfiguration.LogsMode}",
6261
// HINT: If this is not set, then Raven will pick a default location relative to the server binaries
6362
// See https://github.com/ravendb/ravendb/issues/15694
6463
$"--Indexing.NuGetPackagesPath=\"{nugetPackagesPath}\""
6564
],
66-
AcceptEula = true,
6765
DataDirectory = databaseConfiguration.DbPath,
6866
ServerUrl = databaseConfiguration.ServerUrl,
6967
LogsPath = databaseConfiguration.LogPath
7068
};
7169

70+
serverOptions.Licensing.EulaAccepted = true;
71+
serverOptions.Licensing.LicensePath = licenseFileNameAndServerDirectory.LicenseFileName;
72+
7273
if (!string.IsNullOrWhiteSpace(licenseFileNameAndServerDirectory.ServerDirectory))
7374
{
7475
serverOptions.ServerDirectory = licenseFileNameAndServerDirectory.ServerDirectory;

0 commit comments

Comments
 (0)