Skip to content
Snippets Groups Projects
  1. Sep 01, 2020
    • Matthias Urhahn's avatar
      Prevent UI scopes from canceling transactions (EXPOSUREAPP-2312) (#1093) · f091c81a
      Matthias Urhahn authored
      
      * Don't execute the transactions as part of any view scopes.
      We don't want to cancel them if the viewscope is cleared.
      
      This commit introduces distinct scopes for each transaction.
      
      * Mock injection helper behavior on existing tests.
      
      * Simplify to one CoroutineScope for all Transaction.
      Switch context when awaiting the transaction codeblock to end,
      otherwise a cancellation still affects us.
      
      * Add test for timeout
      
      * Remove unused code.
      
      * Expand comment on unexpected test behavior
      
      * Even without actual timeout, runBlockingTest causes flaky test behavior.
      
      Co-authored-by: default avatarMatthias Urhahn <matthias.urhahn@sap.com>
      Co-authored-by: default avatarJakob Möller <jakob.moeller@sap.com>
      f091c81a
  2. Aug 31, 2020
  3. Aug 27, 2020
  4. Aug 26, 2020
  5. Aug 25, 2020
  6. Aug 24, 2020
  7. Aug 21, 2020
  8. Aug 19, 2020
  9. Aug 18, 2020
  10. Aug 17, 2020
  11. Aug 12, 2020
Loading