Skip to content

Commit

Permalink
Skip mysql cache unittest
Browse files Browse the repository at this point in the history
  • Loading branch information
Cryp Toon committed Feb 12, 2024
1 parent 929856c commit 54a2553
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_db.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ def test_database_create_drop(self):
Wallet.create("tmpwallet", db_uri=self.database_uri)

def test_database_cache_create_drop(self):
if os.getenv('UNITTEST_DATABASE') == 'mysql':
self.skipTest('MySQL does not allow indexing on LargeBinary fields, so caching is not possible')
dbtmp = DbCache(self.database_cache_uri)
srv = Service(cache_uri=self.database_cache_uri, exclude_providers=['bitaps', 'bitgo'])
t = srv.gettransaction('68104dbd6819375e7bdf96562f89290b41598df7b002089ecdd3c8d999025b13')
Expand Down

0 comments on commit 54a2553

Please sign in to comment.