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
Browsers can only support a limited numbers of concurrent WebGL contexts. When the limit is exceeded, older contexts are dropped. This can cause errors and test failures.
Megaplot is designed to be used for big visualizations that take up a lot of screen space. In a production environment, exceeding the context limit is less likely. But the karma unit tests create many contexts to exercise various features and are starting to become flakey.
Task: De-flake the karma unit tests so that they succeed even if contexts are lost. This may require somehow forcing tests to execute sequentially. Karma appears to somehow interleave some of the code under test.
This effort may be aided by implementing an explicit Scene destroy() method as described in #47.
The text was updated successfully, but these errors were encountered:
Browsers can only support a limited numbers of concurrent WebGL contexts. When the limit is exceeded, older contexts are dropped. This can cause errors and test failures.
Megaplot is designed to be used for big visualizations that take up a lot of screen space. In a production environment, exceeding the context limit is less likely. But the karma unit tests create many contexts to exercise various features and are starting to become flakey.
Task: De-flake the karma unit tests so that they succeed even if contexts are lost. This may require somehow forcing tests to execute sequentially. Karma appears to somehow interleave some of the code under test.
This effort may be aided by implementing an explicit Scene
destroy()
method as described in #47.The text was updated successfully, but these errors were encountered: