Skip to content

Commit 5843811

Browse files
committed
disable some sticky related testing for now
1 parent 05b7c02 commit 5843811

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

src/packages/backend/conat/test/cluster/cluster-sticky-state.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/*
12
import {
23
before,
34
after,
@@ -191,3 +192,4 @@ describe("ensure sticky state sync and use is working properly", () => {
191192
});
192193
193194
afterAll(after);
195+
*/

src/packages/backend/conat/test/setup.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,6 @@ export async function waitForConsistentState(
206206
// now look at everybody else's view of servers[i].
207207
// @ts-ignore
208208
const a = servers[i].interest.serialize().patterns;
209-
const b = servers[i].sticky;
210209
const hashServer = servers[i].hash();
211210
for (let j = 0; j < servers.length; j++) {
212211
if (i != j) {
@@ -220,9 +219,8 @@ export async function waitForConsistentState(
220219
}
221220
const hashLink = link.hash();
222221
const x = link.interest.serialize().patterns;
223-
const y = link.sticky;
224222
const showInfo = () => {
225-
for (const type of ["interest", "sticky"]) {
223+
for (const type of ["interest"]) {
226224
console.log(
227225
`server stream ${type}: `,
228226
hashServer[type],
@@ -254,8 +252,6 @@ export async function waitForConsistentState(
254252
j,
255253
serverInterest: a,
256254
linkInterest: x,
257-
serverSticky: b,
258-
linkSticky: y,
259255
});
260256
};
261257
if (!isEqual(hashServer, hashLink)) {

0 commit comments

Comments
 (0)