Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
HannaTrotsenko opened this issue Jul 8, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@HannaTrotsenko
Copy link

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]

@HannaTrotsenko HannaTrotsenko added the bug Something isn't working label Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant