Skip to content

Commit f7ae3a4

Browse files
lpcoxCopilot
andcommitted
fix: update integration tests for new health service names
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 23c58a5 commit f7ae3a4

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/integration/api-proxy.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ describe('API Proxy Sidecar', () => {
4343

4444
expect(result).toSucceed();
4545
expect(result.stdout).toContain('"status":"healthy"');
46-
expect(result.stdout).toContain('anthropic-proxy');
46+
expect(result.stdout).toContain('awf-api-proxy-anthropic');
4747
}, 180000);
4848

4949
test('should start api-proxy sidecar with OpenAI key and pass healthcheck', async () => {
@@ -170,7 +170,7 @@ describe('API Proxy Sidecar', () => {
170170
expect(result.stdout).toContain('"openai":false');
171171
expect(result.stdout).toContain('"anthropic":true');
172172
// Port 10001 should also be healthy
173-
expect(result.stdout).toContain('anthropic-proxy');
173+
expect(result.stdout).toContain('awf-api-proxy-anthropic');
174174
}, 180000);
175175

176176
test('should start api-proxy sidecar with Copilot key and pass healthcheck', async () => {
@@ -190,7 +190,7 @@ describe('API Proxy Sidecar', () => {
190190

191191
expect(result).toSucceed();
192192
expect(result.stdout).toContain('"status":"healthy"');
193-
expect(result.stdout).toContain('copilot-proxy');
193+
expect(result.stdout).toContain('awf-api-proxy-copilot');
194194
}, 180000);
195195

196196
test('should set COPILOT_API_URL in agent when Copilot token is provided', async () => {

0 commit comments

Comments
 (0)