fix: flaky test!

fix: get resource report what we want.
This commit is contained in:
Darshan
2025-12-31 15:00:23 +05:30
parent f875b965be
commit 2a38eedc98
2 changed files with 4 additions and 1 deletions
+2 -1
View File
@@ -200,7 +200,8 @@ class Migrations extends Action
default => throw new \Exception('Invalid source type'),
};
$this->sourceReport = $migrationSource->report();
$resources = $migration->getAttribute('resources', []);
$this->sourceReport = $migrationSource->report($resources);
return $migrationSource;
}
@@ -1851,6 +1851,8 @@ class ProjectsConsoleClientTest extends Scope
$sessionCookie = $response['headers']['set-cookie'];
$sessionId2 = $response['body']['$id'];
sleep(5); // fixes flaky tests.
/**
* List sessions
*/