Skip to content

test: ensure memcache is cleared in MemcachedTest - #124

Draft
marmichalski wants to merge 1 commit into
ackintosh:masterfrom
marmichalski:flaky
Draft

test: ensure memcache is cleared in MemcachedTest#124
marmichalski wants to merge 1 commit into
ackintosh:masterfrom
marmichalski:flaky

Conversation

@marmichalski

Copy link
Copy Markdown
Contributor

No description provided.

@marmichalski

Copy link
Copy Markdown
Contributor Author

@ackintosh can you run the pipeline here few times to assert it certainly solves this? 😂 I did some tests on local and it seemed fine

Comment thread tests/Ackintosh/Ganesha/Storage/Adapter/MemcachedTest.php Outdated
// Since sleeping 15 seconds as below, the `TumblingTimeWindow` contains the success count recorded above is outdated.
sleep(15);
// Since sleeping 10 seconds as below, the `TumblingTimeWindow` contains the success count recorded above is outdated.
sleep(10);

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is enough, so we save 5 seconds here, but add 1 above, essentially we are still faster 4 seconds 😂

Comment thread tests/Ackintosh/Ganesha/Storage/Adapter/MemcachedTest.php Outdated
@marmichalski marmichalski changed the title tests: ensure memcache is cleared in MemcachedTest test: ensure memcache is cleared in MemcachedTest Jan 19, 2025
@marmichalski
marmichalski marked this pull request as ready for review January 19, 2025 23:03
@coveralls

coveralls commented Jan 19, 2025

Copy link
Copy Markdown

Coverage Status

coverage: 92.647%. remained the same
when pulling e096c39 on marmichalski:flaky
into a71f5a0 on ackintosh:master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants