We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running dart test in the embed/ directory under MacOS sometimes fails with the following error:
dart test
embed/
$ dart test 00:01 +33 -1: loading test/str/str_embedding_generator_test.dart [E] Failed to load "test/str/str_embedding_generator_test.dart": Cannot open file, path = '/Users/daichi/.pub-cache/hosted/pub.dev/analyzer-5.13.0/lib/instrumentation/logger.dart' (OS Error: Too many open files, errno = 24) package:build/src/asset/reader.dart 53:13 AssetReader.digest ===== asynchronous gap =========================== package:build_resolvers/src/build_asset_uri_resolver.dart 139:20 BuildAssetUriResolver._updateCachedAssetState ===== asynchronous gap =========================== package:graphs/src/crawl_async.dart 67:19 _CrawlAsync._crawlFrom ===== asynchronous gap =========================== package:graphs/src/crawl_async.dart 71:5 _CrawlAsync._crawlFrom ===== asynchronous gap =========================== package:graphs/src/crawl_async.dart 71:5 _CrawlAsync._crawlFrom ===== asynchronous gap =========================== package:graphs/src/crawl_async.dart 71:5 _CrawlAsync._crawlFrom ===== asynchronous gap =========================== package:graphs/src/crawl_async.dart 71:5 _CrawlAsync._crawlFrom ===== asynchronous gap =========================== package:graphs/src/crawl_async.dart 71:5 _CrawlAsync._crawlFrom ===== asynchronous gap =========================== package:graphs/src/crawl_async.dart 71:5 _CrawlAsync._crawlFrom ===== asynchronous gap =========================== package:graphs/src/crawl_async.dart 56:7 _CrawlAsync.run To run this test again: /opt/homebrew/Caskroom/flutter/3.0.5/flutter/bin/cache/dart-sdk/bin/dart test test/str/str_embedding_generator_test.dart -p vm --plain-name 'loading test/str/str_embedding_generator_test.dart' 00:01 +33 -2: loading test/binary/binary_embedding_generator_test.dart [E] Failed to load "test/binary/binary_embedding_generator_test.dart": Cannot open file, path = '/Users/daichi/.pub-cache/hosted/pub.dev/dart_style-2.3.2/lib/src/chunk.dart' (OS Error: Too many open files, errno = 24) package:build_resolvers/src/build_asset_uri_resolver.dart 146:23 BuildAssetUriResolver._updateCachedAssetState ===== asynchronous gap =========================== package:graphs/src/crawl_async.dart 67:19 _CrawlAsync._crawlFrom ===== asynchronous gap =========================== package:graphs/src/crawl_async.dart 71:5 _CrawlAsync._crawlFrom ===== asynchronous gap =========================== package:graphs/src/crawl_async.dart 71:5 _CrawlAsync._crawlFrom ===== asynchronous gap =========================== package:graphs/src/crawl_async.dart 71:5 _CrawlAsync._crawlFrom ===== asynchronous gap =========================== package:graphs/src/crawl_async.dart 71:5 _CrawlAsync._crawlFrom ===== asynchronous gap =========================== package:graphs/src/crawl_async.dart 71:5 _CrawlAsync._crawlFrom ===== asynchronous gap =========================== package:graphs/src/crawl_async.dart 71:5 _CrawlAsync._crawlFrom ===== asynchronous gap =========================== package:graphs/src/crawl_async.dart 56:7 _CrawlAsync.run To run this test again: /opt/homebrew/Caskroom/flutter/3.0.5/flutter/bin/cache/dart-sdk/bin/dart test test/binary/binary_embedding_generator_test.dart -p vm --plain-name 'loading test/binary/binary_embedding_generator_test.dart' 00:06 +46 -2: Some tests failed.
The text was updated successfully, but these errors were encountered:
A workaround:
$ ulimit -S -n 2048
This command increases the maximum number of files the system can open at one time. 2048 may vary from machine to machine.
Sorry, something went wrong.
No branches or pull requests
Running
dart test
in theembed/
directory under MacOS sometimes fails with the following error:The text was updated successfully, but these errors were encountered: