File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -1364,6 +1364,7 @@ def _create_test_table(db_file):
1364
1364
cursor .execute ("CREATE TABLE test (fid SERIAL, txt TEXT);" )
1365
1365
cursor .execute ("INSERT INTO test VALUES (123, 'hello');" )
1366
1366
cursor .execute ("COMMIT;" )
1367
+ con .close ()
1367
1368
1368
1369
1369
1370
def _create_spatial_table (db_file ):
@@ -3069,6 +3070,8 @@ def test_validate_auth(mc: MerginClient):
3069
3070
def test_uploaded_chunks_cache (mc ):
3070
3071
"""Create a new project, download it, add a file and then do sync - it should not fail"""
3071
3072
3073
+ if not mc .server_features ().get ("v2_push_enabled" ):
3074
+ pytest .skip ("Server does not support v2 push" )
3072
3075
test_project = "test_uploaded_chunks_cache"
3073
3076
project = API_USER + "/" + test_project
3074
3077
project_dir = os .path .join (TMP_DIR , test_project ) # primary project dir for updates
You can’t perform that action at this time.
0 commit comments