You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by "Boris Shkolnik (JIRA)" <ji...@apache.org> on 2019/05/17 19:04:02 UTC
[jira] [Updated] (SAMZA-2193) Fix unit test failures after rate
limiter is a required config
[ https://issues.apache.org/jira/browse/SAMZA-2193?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Boris Shkolnik updated SAMZA-2193:
----------------------------------
Fix Version/s: 1.2
> Fix unit test failures after rate limiter is a required config
> --------------------------------------------------------------
>
> Key: SAMZA-2193
> URL: https://issues.apache.org/jira/browse/SAMZA-2193
> Project: Samza
> Issue Type: Bug
> Components: test
> Reporter: Dengpan Yin
> Priority: Minor
> Fix For: 1.2
>
> Time Spent: 50m
> Remaining Estimate: 0h
>
> A recent code merge makes rate limiter as a required config. After that RB is created and before it's merged, some new tests are added without setting or disabling rate limiter. This cause the unit-test failure.
>
> > Task :samza-core_2.11:test
> testTableRetryPolicyToConfig FAILED
> java.lang.IllegalArgumentException: Read rate limiter is enabled, there is no read rate limiter configured.
> at com.google.common.base.Preconditions.checkArgument(Preconditions.java:135)
> at org.apache.samza.table.descriptors.RemoteTableDescriptor.validate(RemoteTableDescriptor.java:343)
> at org.apache.samza.table.descriptors.BaseTableDescriptor.toConfig(BaseTableDescriptor.java:75)
> at org.apache.samza.table.descriptors.RemoteTableDescriptor.toConfig(RemoteTableDescriptor.java:270)
> at org.apache.samza.table.remote.descriptors.TestRemoteTableDescriptor.testTableRetryPolicyToConfig(TestRemoteTableDescriptor.java:220)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)