Skip to content

[BUG] delete of sql-cli is not run if build does not complete #1675

Open
@MitchellGale

Description

@MitchellGale

What is the bug?
When execution of doctests is halted during execution the doctest/sql-cli directory is not deleted.

How can one reproduce the bug?
Steps to reproduce the behavior:

  1. Run OpenSearch SQL Plugin build and stop build during doctest execution.
  2. Run OpenSearch SQL Plugin build again and observe Execution failed for task ':doctest:cloneSqlCli'. error.

What is the expected behavior?
doctest/sql-cli should be deleted before clone is attempted.

What is your host/environment?
OpenSearch 2.8

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions