Skip to content

Component must throw an error when failed to connect to Database #107

Description

@HannaTrotsenko

Component Bug Report

Description

We have DB VM jdbc-component-integration-tests-databases - https://console.cloud.google.com/compute/instances?project=elasticio-psteam
Component must throw an error when when VM is down

Component Version

Version of the component running when the below steps to reproduce were performed - 2.5.8
Platform version running when/installation name where the below steps were reproduced - 24.27
Credentials used https://vault.bitwarden.com/#/vault?search=jdbc&itemId=68362483-5aba-4924-91ea-aaca00e449ec

Steps to Reproduce

  1. Create new flow
  2. Put any trigger
  3. Set JDBC as action, choose Lookup Row By Primary Key function.
  4. Table - DBUSER, USER_ID - 1
  5. Start flow

Actual Result

No errors and only logs

[2024-07-08 15:23:33.873]: messageId=eb4a0236-d6d4-434f-b9b4-2bdb2492d139, parentMessageId=eb4a0236-d6d4-434f-b9b4-2bdb2492d139, threadId=687c8da1-46ba-4022-b8a6-95fb9a587492

[2024-07-08 15:23:33.877]: Sending GET request to /v1/tasks/668bdd21641b400012d8de64/steps/step_3

[2024-07-08 15:23:33.924]: Parsing message JSON

[2024-07-08 15:23:33.925]: About to retrieve message body from storage

[2024-07-08 15:23:33.925]: No id to retrieve the object from storage found

[2024-07-08 15:23:33.926]: Message will be emitted as is

[2024-07-08 15:23:33.934]: Component descriptor from classpath: /component.json

[2024-07-08 15:23:34.257]: Connecting to connection string

[2024-07-08 15:25:46.096]: Failed to close connection

Expected Result

Component must throw an error

Workaround(s)

[Any known workaround(s) to circumvent the above issue]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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