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

[DO NOT MERGE] Add test that trigger syncurity evaluation deadlock. #163

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

aoli-al
Copy link
Member

@aoli-al aoli-al commented Mar 16, 2025

No description provided.

@Copilot Copilot bot review requested due to automatic review settings March 16, 2025 16:44

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds a new test designed to trigger a syncurity evaluation deadlock using future tasks. It also integrates the new test into the test suite and cleans up unused imports in an existing deadlock test.

  • Added SyncurityAwaitDeadlockByFuture test that uses futures to simulate deadlock scenarios.
  • Updated the test suite to include the new deadlock test.
  • Removed unused imports in SyncurityAwaitDeadlockInConditionTest.

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
junit/src/test/java/org/pastalab/fray/junit/internal/syncurity/SyncurityAwaitDeadlockByFuture.java New test that triggers a deadlock using future tasks.
junit/src/test/java/org/pastalab/fray/junit/tests/SyncurityAwaitTest.java Integrates the new deadlock test into the test suite.
junit/src/test/java/org/pastalab/fray/junit/internal/syncurity/SyncurityAwaitDeadlockInConditionTest.java Cleans up unused imports.
@cmu-pasta cmu-pasta deleted a comment from Copilot bot Mar 18, 2025
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.

1 participant