Skip to content

Commit 5c727f4

Browse files
committed
enable debug for failing CI tests
1 parent ba2ed46 commit 5c727f4

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

src/EventListener/BufferFlusher.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public static function getSubscribedEvents(): array
4646
return [
4747
KernelEvents::TERMINATE => ['handleKernelTerminateEvent', 10],
4848
ConsoleEvents::COMMAND => ['handleConsoleCommandEvent', 150],
49-
ConsoleEvents::TERMINATE => ['handleConsoleTerminateEvent', 10],
49+
ConsoleEvents::TERMINATE => ['handleConsoleTerminateEvent', 0],
5050
ConsoleEvents::ERROR => ['handleConsoleErrorEvent', 10],
5151
];
5252
}

tests/End2End/App/Command/SubcommandTestCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
2929
$this->logger->error('subcommand 1 error');
3030

3131
if (null !== $this->getApplication()) {
32-
$this->getApplication()->doRun(new ArrayInput(['command' => "sentry:dummy:test"]), new NullOutput());
32+
$this->getApplication()->doRun(new ArrayInput(['command' => 'sentry:dummy:test']), new NullOutput());
3333
}
3434

3535
$this->logger->error('subcommand 2 error');

tests/End2End/App/KernelForBufferTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ private function supportsHubId(): bool
3434
$version = \Composer\InstalledVersions::getVersion('symfony/monolog-bundle');
3535
return $version && version_compare($version, '3.7.0', '>=');
3636
}
37-
3837
return false;
3938
} catch (\Exception $e) {
4039
return false;

tests/End2End/TracingEnd2EndTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ protected function setUp(): void
3333

3434
public function testTracingWithDoctrineConnectionPing(): void
3535
{
36-
$client = static::createClient(['debug' => false]);
36+
$client = static::createClient(['debug' => true]);
3737

3838
$client->request('GET', '/tracing/ping-database');
3939

@@ -49,7 +49,7 @@ public function testTracingWithDoctrineConnectionPing(): void
4949

5050
public function testTracingWithIgnoredTransaction(): void
5151
{
52-
$client = static::createClient(['debug' => false]);
52+
$client = static::createClient(['debug' => true]);
5353

5454
$client->request('GET', '/tracing/ignored-transaction');
5555

0 commit comments

Comments
 (0)