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

Test: Make SQL query to verify created/updated data is persisted #147

Open
landonreed opened this issue Nov 8, 2018 · 0 comments
Open

Comments

@landonreed
Copy link
Contributor

Per @evansiroky's comment in #133, we might should be checking the database independently of the create/update result returned by JDBCTableWriter. We would use a SQL query to do this, but we do need to consider how to user a shared connection to ensure that the data is up to date following the executed statements.

// make sure saved data matches expected data
assertThat(createdFeedInfo.feed_publisher_name, equalTo(publisherName));

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant