mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-09-05 07:03:07 +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) => {
|
export const getAuthContext = async (token: string) => {
|
||||||
return await request.newContext({
|
return await request.newContext({
|
||||||
// Default timeout is 30s making it to 1m for AUTs
|
// Default timeout is 30s making it to 1m for AUTs
|
||||||
timeout: 60000,
|
timeout: 90000,
|
||||||
extraHTTPHeaders: {
|
extraHTTPHeaders: {
|
||||||
|
Connection: 'keep-alive',
|
||||||
Authorization: `Bearer ${token}`,
|
Authorization: `Bearer ${token}`,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user