python312Packages.langchain-core: disable flaky test

This commit is contained in:
Peder Bergebakken Sundt
2024-07-22 03:28:57 +02:00
parent cdf6bef79e
commit 6f1e6f8de8
@@ -86,7 +86,11 @@ buildPythonPackage rec {
'';
};
disabledTests = lib.optionals stdenv.isDarwin [
disabledTests = [
# flaky, sometimes fail to strip uuid from AIMessageChunk before comparing to test value
"test_map_stream"
]
++ lib.optionals stdenv.isDarwin [
# Langchain-core the following tests due to the test comparing execution time with magic values.
"test_queue_for_streaming_via_sync_call"
"test_same_event_loop"