Skip to content

Commit

Permalink
don't run mrange groupby tests < 7.4
Browse files Browse the repository at this point in the history
  • Loading branch information
sjpotter committed Oct 8, 2024
1 parent 3f65936 commit 6ef31a1
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/time-series/lib/commands/MRANGE_GROUPBY.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ import MRANGE_GROUPBY, { TIME_SERIES_REDUCERS } from './MRANGE_GROUPBY';
import { TIME_SERIES_AGGREGATION_TYPE } from './CREATERULE';

describe('TS.MRANGE_GROUPBY', () => {

it('transformArguments', () => {
testUtils.isVersionGreaterThanHook([7, 4]);

assert.deepEqual(
MRANGE_GROUPBY.transformArguments('-', '+', 'label=value', {
REDUCE: TIME_SERIES_REDUCERS.AVG,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ import { TIME_SERIES_REDUCERS } from './MRANGE_GROUPBY';
import { TIME_SERIES_AGGREGATION_TYPE } from './CREATERULE';

describe('TS.MRANGE_SELECTED_LABELS_GROUPBY', () => {
testUtils.isVersionGreaterThanHook([7, 4]);

it('transformArguments', () => {
assert.deepEqual(
MRANGE_SELECTED_LABELS_GROUPBY.transformArguments('-', '+', 'label', 'label=value', {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ import { TIME_SERIES_REDUCERS } from './MRANGE_GROUPBY';
import { TIME_SERIES_AGGREGATION_TYPE } from './CREATERULE';

describe('TS.MRANGE_WITHLABELS_GROUPBY', () => {
testUtils.isVersionGreaterThanHook([7, 4]);

it('transformArguments', () => {
assert.deepEqual(
MRANGE_WITHLABELS_GROUPBY.transformArguments('-', '+', 'label=value', {
Expand Down
2 changes: 2 additions & 0 deletions packages/time-series/lib/commands/MREVRANGE_GROUPBY.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ import { TIME_SERIES_REDUCERS } from './MRANGE_GROUPBY';
import { TIME_SERIES_AGGREGATION_TYPE } from './CREATERULE';

describe('TS.MREVRANGE_GROUPBY', () => {
testUtils.isVersionGreaterThanHook([7, 4]);

it('transformArguments', () => {
assert.deepEqual(
MREVRANGE_GROUPBY.transformArguments('-', '+', 'label=value', {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ import { TIME_SERIES_REDUCERS } from './MRANGE_GROUPBY';
import { TIME_SERIES_AGGREGATION_TYPE } from './CREATERULE';

describe('TS.MREVRANGE_SELECTED_LABELS_GROUPBY', () => {
testUtils.isVersionGreaterThanHook([7, 4]);

it('transformArguments', () => {
assert.deepEqual(
MREVRANGE_SELECTED_LABELS_GROUPBY.transformArguments('-', '+', 'label', 'label=value', {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ import { TIME_SERIES_REDUCERS } from './MRANGE_GROUPBY';
import { TIME_SERIES_AGGREGATION_TYPE } from './CREATERULE';

describe('TS.MREVRANGE_WITHLABELS_GROUPBY', () => {
testUtils.isVersionGreaterThanHook([7, 4]);

it('transformArguments', () => {
assert.deepEqual(
MREVRANGE_WITHLABELS_GROUPBY.transformArguments('-', '+', 'label=value', {
Expand Down

0 comments on commit 6ef31a1

Please sign in to comment.