mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-31 20:51:26 +00:00
fix(test): apiContext socket hangup issue in AUTs (#20569)
This commit is contained in:
parent
4ec2077bbc
commit
f7d9720486
@ -48,8 +48,9 @@ export const getToken = async (page: Page) => {
|
||||
export const getAuthContext = async (token: string) => {
|
||||
return await request.newContext({
|
||||
// Default timeout is 30s making it to 1m for AUTs
|
||||
timeout: 60000,
|
||||
timeout: 90000,
|
||||
extraHTTPHeaders: {
|
||||
Connection: 'keep-alive',
|
||||
Authorization: `Bearer ${token}`,
|
||||
},
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user