Problem/Motivation

As creating/deleting a resource takes time, the following test scenarios often fails due to timing issue.

  • Creating a snapshot as the volume is still creating.
  • Terminating a launch template as the instance keeps running or being stopped.

Proposed resolution

Break the current scenario into two scenarios to make sure each step.

This patch also includes a temporary workaround by avoid no error check on creating a launch template.

Issue fork cloud-3303229

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

kumikoono created an issue. See original summary.

kumikoono’s picture

Title: Refactor BDD test scenarios of OpenStack » Refactor BDD test scenarios of OpenStack to stabilize testing behavior
Issue summary: View changes
kumikoono’s picture

Status: Active » Needs review
yas’s picture

Status: Needs review » Reviewed & tested by the community

@kumikoono

Thank you for the patch. I'll merge the patch to 4.x and 5.x, and close this issue as Fixed.

  • yas committed effacab on 5.x authored by kumikoono
    Issue #3303229 by kumikoono, yas: Refactor BDD test scenarios of...

  • yas committed 8544b1b on 4.x authored by kumikoono
    Issue #3303229 by kumikoono, yas: Refactor BDD test scenarios of...
yas’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.