# PocketIc timeout

**URL:** <https://forum.dfinity.org/t/pocketic-timeout/36309>\
**Category:** Developers\
**Tags:** rust\
**Created:** [October 18, 2024, 11:45am UTC](https://forum.dfinity.org/t/pocketic-timeout/36309 "2024-10-18T11:45:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![frederico02](https://avatars.discourse-cdn.com/v4/letter/f/7bcc69/32.png) [@frederico02](https://forum.dfinity.org/u/frederico02)\
**Post date:** [October 18, 2024, 11:45am UTC](https://forum.dfinity.org/t/pocketic-timeout/36309/1 "2024-10-18T11:45:18Z")

</div>

Hi,

I have some tests using the PocketIC (rust). After a certain amount of tests ( 18 ), PocketIc seems to stop working and times out

```panicked
'post' request to PocketIC server timed out.

```

When i run the failed tests individually they pass but when they run in a group of tests they fail. The failing tests appear at the end of the group of tests and are the last two to be tested.

I found before that increasing ulimit options helped when i was running too many tests but increasing this doesn’t seem to help anymore.

```bash
   ulimit -n 202400
   ulimit -f 2024000

```

Pocket IC version : pocket-ic-server 4.0.0  
OS : MacOS

---

<div class="post-metadata">

**Author:** ![frederico02](https://avatars.discourse-cdn.com/v4/letter/f/7bcc69/32.png) [@frederico02](https://forum.dfinity.org/u/frederico02)\
**Post date:** [October 18, 2024, 11:53am UTC](https://forum.dfinity.org/t/pocketic-timeout/36309/2 "2024-10-18T11:53:18Z")

</div>

I updated to the latest pocket-ic-server and rust package and that seems to have fixed it
