[Notes] [Git][BuildStream/buildstream][gokcen/no_auto_fetch] fixup! Add explicit fetch flag for 'bst workspace-reset'



Title: GitLab

Gökçen Nurlu pushed to branch gokcen/no_auto_fetch at BuildStream / buildstream

Commits:

2 changed files:

Changes:

  • tests/frontend/buildcheckout.py
    ... ... @@ -510,6 +510,8 @@ def test_build_checkout_workspaced_junction(cli, tmpdir, datafiles):
    510 510
         # Now open a workspace on the junction
    
    511 511
         #
    
    512 512
         result = cli.run(project=project, args=['workspace', 'open', 'junction.bst', workspace])
    
    513
    +    result.assert_main_error(ErrorDomain.PIPELINE, 'uncached-sources')
    
    514
    +    result = cli.run(project=project, args=['workspace', 'open', 'junction.bst', workspace, '--fetch'])
    
    513 515
         result.assert_success()
    
    514 516
         filename = os.path.join(workspace, 'files', 'etc-files', 'etc', 'animal.conf')
    
    515 517
     
    

  • tests/frontend/cross_junction_workspace.py
    ... ... @@ -47,7 +47,7 @@ def open_cross_junction(cli, tmpdir):
    47 47
         workspace = tmpdir.join("workspace")
    
    48 48
     
    
    49 49
         element = 'sub.bst:data.bst'
    
    50
    -    args = ['workspace', 'open', element, str(workspace)]
    
    50
    +    args = ['workspace', 'open', element, str(workspace), '--fetch']
    
    51 51
         result = cli.run(project=project, args=args)
    
    52 52
         result.assert_success()
    
    53 53
     
    



  • [Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]