Skip to content

Commit b1c7756

Browse files
committed
Implement logs
1 parent 6f6c33e commit b1c7756

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

packages/vscode-container-client/src/test/ContainerOrchestratorClientE2E.test.ts

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ describe('(integration) ContainerOrchestratorClientE2E', function () {
256256

257257
// #region Logs Command
258258

259-
xdescribe('Logs', function () {
259+
describe('Logs', function () {
260260
before('Logs', async function () {
261261
// Ensure services are up before logs test
262262
await defaultRunner.getCommandRunner()(
@@ -277,15 +277,14 @@ describe('(integration) ContainerOrchestratorClientE2E', function () {
277277
})
278278
);
279279

280-
// Read some of the logs (don't need to read all)
281-
let logsFound = false;
280+
let logsOutput = '';
282281
for await (const chunk of logsStream) {
283282
expect(chunk).to.be.a('string');
284-
logsFound = true;
285-
break; // Just need to verify we can get some logs
283+
logsOutput += chunk;
286284
}
287285

288-
expect(logsFound).to.be.true;
286+
// Check if the logs contain the expected output
287+
expect(logsOutput).to.include('Log entry for testing');
289288
});
290289
});
291290

0 commit comments

Comments
 (0)