refactor: share registry runtime configuration leases
This commit is contained in:
@@ -180,7 +180,7 @@ test("separate runtime leases hand off byte-identical revision Evidence configs
|
||||
);
|
||||
|
||||
try {
|
||||
expect(first.path).not.toBe(second.path);
|
||||
expect(first.path).toBe(second.path);
|
||||
const firstYaml = readFileSync(first.path, "utf8");
|
||||
const secondYaml = readFileSync(second.path, "utf8");
|
||||
expect(secondYaml).toBe(firstYaml);
|
||||
@@ -212,7 +212,7 @@ test("separate runtime leases hand off byte-identical revision Evidence configs
|
||||
}
|
||||
|
||||
first.release();
|
||||
expect(existsSync(first.path)).toBe(false);
|
||||
expect(existsSync(first.path)).toBe(true);
|
||||
expect(existsSync(second.path)).toBe(true);
|
||||
second.release();
|
||||
expect(existsSync(second.path)).toBe(false);
|
||||
|
||||
Reference in New Issue
Block a user