ZIm/crates/collab/src/tests
Conrad Irwin 0b1b758f02 Fix leaking test contexts
I was unable to run the collab tests locally because I would run out of
file descriptors.

From some digging it turned out that tokio allocates a new file
descriptor to do work on the CurrentThread using KQUEUE.

We create a new tokio Runtime with each database connection, and these
database connections were being retained by the Client, which is
retained by the Context.

Cleaning up our leaked contexts fixes the problem (though does make me
wonder if a different approach might be preferrable).
2024-01-22 23:05:54 -07:00
..
channel_buffer_tests.rs Fix routing of leader updates from unshared projects 2024-01-11 13:47:31 -08:00
channel_guest_tests.rs Add requires_zed_cla column to channels table 2024-01-22 16:41:24 -08:00
channel_message_tests.rs Restore missing test 2024-01-10 11:26:11 -08:00
channel_tests.rs Fix typos detected by crate-ci/typos 2024-01-17 14:31:21 -08:00
editor_tests.rs Add typo detection to CI (#4107) 2024-01-17 17:13:47 -08:00
following_tests.rs Add typo detection to CI (#4107) 2024-01-17 17:13:47 -08:00
integration_tests.rs Fix cmd-k left 2024-01-22 08:38:20 -07:00
notification_tests.rs Remove 2 suffix for collab, rope, settings, menu 2024-01-03 12:29:16 -08:00
random_channel_buffer_tests.rs Remove 2 suffix for collab, rope, settings, menu 2024-01-03 12:29:16 -08:00
random_project_collaboration_tests.rs Start work on read-only project access for channel guests 2024-01-03 19:30:32 -07:00
randomized_test_helpers.rs Start work on read-only project access for channel guests 2024-01-03 19:30:32 -07:00
test_server.rs Fix leaking test contexts 2024-01-22 23:05:54 -07:00