-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Document bug and how to reproduce it
- Loading branch information
Showing
2 changed files
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
This version of the branch demonstrates the STM bug. | ||
|
||
To reproduce, remove the workaround from `Network.GRPC.Util.Concurrency` by defining | ||
|
||
```haskell | ||
atomically :: forall a. STM a -> IO a | ||
atomically = STM.atomically | ||
``` | ||
|
||
and then run with | ||
|
||
``` | ||
while (cabal run test-grapesy -- -p earlyTermination3 2>log); do date; done | ||
``` | ||
|
||
You should hit the "blocked indefinitely" very quickly (usually already on the | ||
first run). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters