You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From the code, it seems like the bug is about concurrently sharing the response object. However, fixing this bug with a lock might not be a good idea, and checking whether requests and responses are nil is kind of an anti-pattern. It's because we dealt with a similar problem before (#188) and fixed the problem by fixing the underlying error instead of using locks. So there might be an underlying issue also here.
This job failed with a data race error which you can find below.
Suspicious code:
xk6-browser/common/network_manager.go
Lines 561 to 569 in 917b83e
and FrameManager.NavigateFrame:
xk6-browser/common/frame_manager.go
Lines 674 to 681 in 917b83e
From the code, it seems like the bug is about concurrently sharing the response object. However, fixing this bug with a lock might not be a good idea, and checking whether requests and responses are nil is kind of an anti-pattern. It's because we dealt with a similar problem before (#188) and fixed the problem by fixing the underlying error instead of using locks. So there might be an underlying issue also here.
Maybe related: #271
The text was updated successfully, but these errors were encountered: