def test_sidecar(): plan.start_sidecar_plan(PACKAGE_NAME, {'PLAN_PARAMETER': 'parameterized'}) sidecar_plan = plan.get_sidecar_plan(PACKAGE_NAME).json() print("sidecar_plan: " + str(sidecar_plan)) assert(len(sidecar_plan['phases']) == 1) assert(sidecar_plan['phases'][0]['name'] == 'sidecar-deploy') assert(len(sidecar_plan['phases'][0]['steps']) == 2) spin.time_wait_noisy(lambda: ( plan.get_sidecar_plan(PACKAGE_NAME).json()['status'] == 'COMPLETE'))
def test_sidecar(): plan.start_sidecar_plan(PACKAGE_NAME) sidecar_plan = plan.get_sidecar_plan(PACKAGE_NAME).json() sdk_utils.out("sidecar_plan: " + str(sidecar_plan)) assert (len(sidecar_plan['phases']) == 1) assert (sidecar_plan['phases'][0]['name'] == 'sidecar-deploy') assert (len(sidecar_plan['phases'][0]['steps']) == 2) spin.time_wait_noisy(lambda: (plan.get_sidecar_plan(PACKAGE_NAME).json()[ 'status'] == 'COMPLETE'))
def test_sidecar(): plan.start_sidecar_plan(PACKAGE_NAME) sidecar_plan = plan.get_sidecar_plan(PACKAGE_NAME).json() sdk_utils.out("sidecar_plan: " + str(sidecar_plan)) assert(len(sidecar_plan['phases']) == 1) assert(sidecar_plan['phases'][0]['name'] == 'sidecar-deploy') assert(len(sidecar_plan['phases'][0]['steps']) == 2)
def test_sidecar(): plan.start_sidecar_plan(PACKAGE_NAME) sidecar_plan = plan.get_sidecar_plan(PACKAGE_NAME).json() print("sidecar_plan: " + str(sidecar_plan)) assert(len(sidecar_plan['phases']) == 1) assert(sidecar_plan['phases'][0]['name'] == 'sidecar-deploy') assert(len(sidecar_plan['phases'][0]['steps']) == 2)