Skip to content

Catch warnings in FFI unit tests#1410

Open
timsaucer wants to merge 1 commit intoapache:mainfrom
timsaucer:test/catch-log-warnings
Open

Catch warnings in FFI unit tests#1410
timsaucer wants to merge 1 commit intoapache:mainfrom
timsaucer:test/catch-log-warnings

Conversation

@timsaucer
Copy link
Member

Which issue does this PR close?

None, but related to apache/datafusion#20704

Rationale for this change

Right now we have unit tests that are generating warnings. These could have helped us catch the issue above before it got released. Instead the warnings were silently ignored. With this PR we will prevent future warnings from getting through CI.

What changes are included in this PR?

Initialize logging in example crate.
Add check for warnings in unit tests.

Are there any user-facing changes?

No, CI only.

Additional context

I do not expect CI to pass until we update to 52.3.0 which should be soon.

@timsaucer
Copy link
Member Author

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

Successfully merging this pull request may close these issues.

1 participant