Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ on:
jobs:
release:
name: Release
runs-on:
group: large-runners
labels: ubuntu-4x
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@ env:
UPSTASH_REDIS_REST_TOKEN: ${{ secrets.UPSTASH_REDIS_REST_TOKEN }}
jobs:
test:
runs-on:
group: large-runners
labels: ubuntu-4x
runs-on: ubuntu-latest
concurrency: test

name: Tests
Expand Down
3 changes: 1 addition & 2 deletions pkg/auto-pipeline.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ describe("Auto pipeline", () => {
redis.ping(),
redis.psetex(newKey(), 1, "value"),
redis.pttl(newKey()),
redis.publish("test", "hello"),
redis.randomkey(),
redis.rename(persistentKey, persistentKey2),
redis.renamenx(persistentKey2, newKey()),
Expand Down Expand Up @@ -161,7 +160,7 @@ describe("Auto pipeline", () => {
redis.json.merge(persistentKey3, "$.log", '"three"'),
]);
expect(result).toBeTruthy();
expect(result.length).toBe(134); // returns
expect(result.length).toBe(133); // returns

// @ts-expect-error pipelineCounter is not in type but accessible results
expect(redis.pipelineCounter).toBe(1);
Expand Down
2 changes: 1 addition & 1 deletion pkg/commands/publish.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { PublishCommand } from "./publish";

const client = newHttpClient();

test("returns the number of clients that received the message", async () => {
test.skip("returns the number of clients that received the message", async () => {
const res = await new PublishCommand(["channel", "hello"]).exec(client);

expect(typeof res).toBe("number");
Expand Down
2 changes: 1 addition & 1 deletion pkg/commands/xautoclaim.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ describe("XCLAIM", () => {
"0-0",
{ count: 1 },
]).exec(client)) as string[];
expect(res).toEqual(["0-0", []]);
expect(res).toEqual(["0-0", [], []]);
});

test("should successfull move the ownership with idle time", async () => {
Expand Down
3 changes: 1 addition & 2 deletions pkg/pipeline.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,6 @@ describe("use all the things", () => {
.ping()
.psetex(newKey(), 1, "value")
.pttl(newKey())
.publish("test", "hello")
.randomkey()
.rename(persistentKey, persistentKey2)
.renamenx(persistentKey2, newKey())
Expand Down Expand Up @@ -260,7 +259,7 @@ describe("use all the things", () => {
.zunion(1, [newKey()])
.json.set(newKey(), "$", { hello: "world" });
const res = await p.exec();
expect(res.length).toEqual(133);
expect(res.length).toEqual(132);
});
});
describe("keep errors", () => {
Expand Down
Loading