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

Skip bids with invalid extension and add error #1135

Merged
merged 3 commits into from
Feb 17, 2021
Merged

Conversation

BraslavskiyAndrey
Copy link
Contributor

No description provided.

.containsExactly(
BidderError.badInput("Cannot deserialize instance of `java.lang.String` out "
+ "of START_OBJECT token\n at [Source: UNKNOWN; line: -1, column: -1] (through "
+ "reference chain: org.prebid.server.bidder.amx.model.AmxBidExt[\"startdelay\"])"));
Copy link
Collaborator

@SerhiiNahornyi SerhiiNahornyi Feb 11, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As I know in tests, we check only for start of the message
assertThat(result.getErrors()).allMatch(error -> error.getType() == BidderError.Type.bad_input && error.getMessage().startsWith("Cannot deserialize instance"));

@rpanchyk rpanchyk merged commit 02cbd0e into master Feb 17, 2021
@rpanchyk rpanchyk deleted the fix-amx-bidder-bug branch February 17, 2021 10:26
nickluck9 pushed a commit that referenced this pull request Aug 9, 2021
* Skip bids with invalid extension and add error

* Fix test
nickluck9 pushed a commit that referenced this pull request Aug 10, 2021
* Skip bids with invalid extension and add error

* Fix test
nickluck9 pushed a commit that referenced this pull request Aug 10, 2021
* Skip bids with invalid extension and add error

* Fix test
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.

4 participants