Skip to content

Commit a8cb278

Browse files
committed
Remove duplicate test
1 parent d2dea7f commit a8cb278

1 file changed

Lines changed: 0 additions & 18 deletions

File tree

src/test/integration/feature.bzl.signup.test.ts

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -85,24 +85,6 @@ describe(BzlFeatureName + '.signup', function () {
8585
server.forceShutdown();
8686
});
8787

88-
it('RESOURCE_EXHAUSTED triggers registration flow', async () => {
89-
const address = `localhost:${await portfinder.getPortPromise()}`;
90-
const server = await createLicensesServiceServer(address, grpc.status.RESOURCE_EXHAUSTED);
91-
server.start();
92-
const licenseClient: LicensesClient = createLicensesClient(licenseProtos, address);
93-
let registrationFlowCalled = false;
94-
const flow = new RenewLicenseFlow(licenseClient, 'fake-jwt-token', async () => {
95-
}, async () => {
96-
registrationFlowCalled = true;
97-
}, async () => { });
98-
try {
99-
await flow.get();
100-
} catch (e) {
101-
}
102-
expect(registrationFlowCalled).to.be.true;
103-
server.forceShutdown();
104-
});
105-
10688
it('OK triggers success flow', async () => {
10789
const address = `localhost:${await portfinder.getPortPromise()}`;
10890
const server = await createLicensesServiceServer(address, grpc.status.OK, {});

0 commit comments

Comments
 (0)