Skip to content
New issue

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

OPTIM: Only remove a task from the loading dictionary if it actually failed. #15

Merged
merged 4 commits into from
Sep 5, 2024

Conversation

ben51degrees
Copy link
Contributor

If it was just cancelled, let the task run otherwise it could just timeout again the next time.

…failed. If it was just cancelled, let the task run otherwise it could just timeout again the next time.
…ing, as it will have either been removed by another thread, or will be cleaned up on the next call.
Copy link

github-actions bot commented Sep 5, 2024

Unit Tests - Ubuntu_Any_CPU_Debug

42 tests  ±0   42 ✅ ±0   12s ⏱️ +11s
 1 suites ±0    0 💤 ±0 
 1 files   ±0    0 ❌ ±0 

Results for commit bb91eae. ± Comparison against base commit 4d7bbd2.

This pull request removes 2 and adds 2 tests. Note that renamed tests count towards both.
FiftyOne.Caching.Tests.LoadingDictionaryTests ‑ LoadingDictionary_GetCanceledIsNotReused
FiftyOne.Caching.Tests.LoadingDictionaryTests ‑ LoadingDictionary_TryGetCanceledIsRemoved
FiftyOne.Caching.Tests.LoadingDictionaryTests ‑ LoadingDictionary_GetCanceledIsReused
FiftyOne.Caching.Tests.LoadingDictionaryTests ‑ LoadingDictionary_TryGetCanceledIsNotRemoved

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Sep 5, 2024

Unit Tests - Ubuntu_Any_CPU_Release

42 tests  ±0   42 ✅ ±0   13s ⏱️ +12s
 1 suites ±0    0 💤 ±0 
 1 files   ±0    0 ❌ ±0 

Results for commit bb91eae. ± Comparison against base commit 4d7bbd2.

This pull request removes 2 and adds 2 tests. Note that renamed tests count towards both.
FiftyOne.Caching.Tests.LoadingDictionaryTests ‑ LoadingDictionary_GetCanceledIsNotReused
FiftyOne.Caching.Tests.LoadingDictionaryTests ‑ LoadingDictionary_TryGetCanceledIsRemoved
FiftyOne.Caching.Tests.LoadingDictionaryTests ‑ LoadingDictionary_GetCanceledIsReused
FiftyOne.Caching.Tests.LoadingDictionaryTests ‑ LoadingDictionary_TryGetCanceledIsNotRemoved

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Sep 5, 2024

Integration Tests - Ubuntu_Any_CPU_Debug

0 tests  ±0   0 ✅ ±0   0s ⏱️ ±0s
0 suites ±0   0 💤 ±0 
0 files   ±0   0 ❌ ±0 

Results for commit bb91eae. ± Comparison against base commit 4d7bbd2.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Sep 5, 2024

Integration Tests - Ubuntu_Any_CPU_Release

0 tests  ±0   0 ✅ ±0   0s ⏱️ ±0s
0 suites ±0   0 💤 ±0 
0 files   ±0   0 ❌ ±0 

Results for commit bb91eae. ± Comparison against base commit 4d7bbd2.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Sep 5, 2024

Unit Tests - Windows_Any_CPU_Release

42 tests  ±0   42 ✅ ±0   13s ⏱️ +10s
 1 suites ±0    0 💤 ±0 
 1 files   ±0    0 ❌ ±0 

Results for commit bb91eae. ± Comparison against base commit 4d7bbd2.

This pull request removes 2 and adds 2 tests. Note that renamed tests count towards both.
FiftyOne.Caching.Tests.LoadingDictionaryTests ‑ LoadingDictionary_GetCanceledIsNotReused
FiftyOne.Caching.Tests.LoadingDictionaryTests ‑ LoadingDictionary_TryGetCanceledIsRemoved
FiftyOne.Caching.Tests.LoadingDictionaryTests ‑ LoadingDictionary_GetCanceledIsReused
FiftyOne.Caching.Tests.LoadingDictionaryTests ‑ LoadingDictionary_TryGetCanceledIsNotRemoved

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Sep 5, 2024

Integration Tests - Windows_Any_CPU_Release

0 tests  ±0   0 ✅ ±0   0s ⏱️ ±0s
0 suites ±0   0 💤 ±0 
0 files   ±0   0 ❌ ±0 

Results for commit bb91eae. ± Comparison against base commit 4d7bbd2.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Sep 5, 2024

Unit Tests - Windows_Any_CPU_Debug

42 tests  ±0   42 ✅ ±0   13s ⏱️ +11s
 1 suites ±0    0 💤 ±0 
 1 files   ±0    0 ❌ ±0 

Results for commit bb91eae. ± Comparison against base commit 4d7bbd2.

This pull request removes 2 and adds 2 tests. Note that renamed tests count towards both.
FiftyOne.Caching.Tests.LoadingDictionaryTests ‑ LoadingDictionary_GetCanceledIsNotReused
FiftyOne.Caching.Tests.LoadingDictionaryTests ‑ LoadingDictionary_TryGetCanceledIsRemoved
FiftyOne.Caching.Tests.LoadingDictionaryTests ‑ LoadingDictionary_GetCanceledIsReused
FiftyOne.Caching.Tests.LoadingDictionaryTests ‑ LoadingDictionary_TryGetCanceledIsNotRemoved

Copy link

github-actions bot commented Sep 5, 2024

Integration Tests - Windows_Any_CPU_Debug

0 tests  ±0   0 ✅ ±0   0s ⏱️ ±0s
0 suites ±0   0 💤 ±0 
0 files   ±0   0 ❌ ±0 

Results for commit bb91eae. ± Comparison against base commit 4d7bbd2.

@Automation51D Automation51D merged commit d3f87c7 into main Sep 5, 2024
8 checks passed
@Automation51D Automation51D deleted the feature/cancellation branch September 5, 2024 14:08
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