Skip to content

Commit efc8e1d

Browse files
authored
Merge pull request #470 from ml054/RDBC-885
RDBC-885 Add 7.0 to GHA RavenDB version matrix
2 parents dabad3f + 60ccefd commit efc8e1d

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

test/Ported/Indexing/TimeSeries/BasicTimeSeriesIndexes_JavaScriptTest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ class AverageHeartRateDaily_ByDateAndCity extends AbstractRawJavaScriptTimeSerie
326326
" .aggregate(g => ({\n" +
327327
" heartBeat: g.values.reduce((total, val) => val.heartBeat + total, 0) / g.values.reduce((total, val) => val.count + total, 0),\n" +
328328
" date: g.key.date,\n" +
329-
" city: g.key.city\n" +
329+
" city: g.key.city,\n" +
330330
" count: g.values.reduce((total, val) => val.count + total, 0)\n" +
331331
" }))";
332332
}

test/Ported/Issues/RavenDB_11440.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ import {
44
SetLogsConfigurationOperation,
55
LogMode
66
} from "../../../src/index.js";
7-
import { disposeTestDocumentStore, testContext } from "../../Utils/TestUtil.js";
7+
import { disposeTestDocumentStore, RavenTestContext, testContext } from "../../Utils/TestUtil.js";
88
import { throwError } from "../../../src/Exceptions/index.js";
99
import { TimeUtil } from "../../../src/Utility/TimeUtil.js";
1010
import { assertThat } from "../../Utils/AssertExtensions.js";
1111

12-
describe("RavenDB_11440", function () {
12+
(RavenTestContext.is70Server ? describe.skip : describe)("RavenDB_11440", function () {
1313

1414
let store: IDocumentStore;
1515

test/Ported/Server/LogsConfigurationTest.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ import {
44
SetLogsConfigurationOperation,
55
SetLogsConfigurationParameters
66
} from "../../../src/index.js";
7-
import { disposeTestDocumentStore, testContext } from "../../Utils/TestUtil.js";
7+
import { disposeTestDocumentStore, RavenTestContext, testContext } from "../../Utils/TestUtil.js";
88
import { assertThat } from "../../Utils/AssertExtensions.js";
99

10-
describe("LogsConfigurationTest", function () {
10+
(RavenTestContext.is70Server ? describe.skip : describe)("LogsConfigurationTest", function () {
1111

1212
let store: IDocumentStore;
1313

test/Utils/TestUtil.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,8 @@ class TestSecuredServiceLocator extends RavenServerLocator {
135135

136136
export class RavenTestContext extends RavenTestDriver implements IDisposable {
137137

138+
public static is70Server = process.env["RAVENDB_SERVER_VERSION"] >= "7.0";
139+
138140
public static isPullRequest = !process.env["RAVEN_License"];
139141

140142
private readonly _locator: RavenServerLocator;

0 commit comments

Comments
 (0)