hanfei1991 / microcosm

a mini bench expreriment for a task runtime scheduler
8 stars 6 forks source link

fix(orm): using more proper dsn for sqlite #394

Closed maxshuang closed 2 years ago

maxshuang commented 2 years ago

ref:https://www.sqlite.org/inmemorydb.html using dsn(file:%s?mode=memory&cache=shared) format here to

  1. Create different DB for different TestXXX()
  2. Enable DB shared for different connection
codecov-commenter commented 2 years ago

Codecov Report

Merging #394 (97d2ca7) into master (aaa2615) will increase coverage by 0.0699%. The diff coverage is 100.0000%.

@@               Coverage Diff                @@
##             master       #394        +/-   ##
================================================
+ Coverage   54.8553%   54.9253%   +0.0699%     
================================================
  Files           137        137                
  Lines         10648      10649         +1     
================================================
+ Hits           5841       5849         +8     
+ Misses         4355       4349         -6     
+ Partials        452        451         -1