[jira] [Updated] (HADOOP-15154) Abstract new method assertCapability for StreamCapabilities testing
[ https://issues.apache.org/jira/browse/HADOOP-15154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xiao Chen updated HADOOP-15154: --- Resolution: Fixed Hadoop Flags: Reviewed Fix Version/s: 3.2.0 Status: Resolved (was: Patch Available) Committed this to trunk! Thank you [~zvenczel] for the contribution and [~ste...@apache.org] for the review / idea. > Abstract new method assertCapability for StreamCapabilities testing > --- > > Key: HADOOP-15154 > URL: https://issues.apache.org/jira/browse/HADOOP-15154 > Project: Hadoop Common > Issue Type: Improvement > Components: test >Reporter: Xiao Chen >Assignee: Zsolt Venczel >Priority: Minor > Fix For: 3.2.0 > > Attachments: HADOOP-15154.01.patch, HADOOP-15154.02.patch, > HADOOP-15154.03.patch > > > From Steve's > [comment|https://issues.apache.org/jira/browse/HADOOP-15149?focusedCommentId=16306806=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16306806]: > bq. it'd have been cleaner for the asserts to have been one in a > assertCapability(key, StreamCapabilities subject, bool outcome) and had it > throw meaningful exceptions on a failure > We can consider abstract such a method to a test util class and use it for > all {{StreamCapabilities}} tests as needed. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org
[jira] [Updated] (HADOOP-15154) Abstract new method assertCapability for StreamCapabilities testing
[ https://issues.apache.org/jira/browse/HADOOP-15154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Zsolt Venczel updated HADOOP-15154: --- Attachment: HADOOP-15154.03.patch > Abstract new method assertCapability for StreamCapabilities testing > --- > > Key: HADOOP-15154 > URL: https://issues.apache.org/jira/browse/HADOOP-15154 > Project: Hadoop Common > Issue Type: Improvement > Components: test >Reporter: Xiao Chen >Assignee: Zsolt Venczel >Priority: Minor > Attachments: HADOOP-15154.01.patch, HADOOP-15154.02.patch, > HADOOP-15154.03.patch > > > From Steve's > [comment|https://issues.apache.org/jira/browse/HADOOP-15149?focusedCommentId=16306806=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16306806]: > bq. it'd have been cleaner for the asserts to have been one in a > assertCapability(key, StreamCapabilities subject, bool outcome) and had it > throw meaningful exceptions on a failure > We can consider abstract such a method to a test util class and use it for > all {{StreamCapabilities}} tests as needed. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org
[jira] [Updated] (HADOOP-15154) Abstract new method assertCapability for StreamCapabilities testing
[ https://issues.apache.org/jira/browse/HADOOP-15154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Loughran updated HADOOP-15154: Status: Patch Available (was: Open) > Abstract new method assertCapability for StreamCapabilities testing > --- > > Key: HADOOP-15154 > URL: https://issues.apache.org/jira/browse/HADOOP-15154 > Project: Hadoop Common > Issue Type: Improvement > Components: test >Reporter: Xiao Chen >Assignee: Zsolt Venczel >Priority: Minor > Attachments: HADOOP-15154.01.patch, HADOOP-15154.02.patch > > > From Steve's > [comment|https://issues.apache.org/jira/browse/HADOOP-15149?focusedCommentId=16306806=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16306806]: > bq. it'd have been cleaner for the asserts to have been one in a > assertCapability(key, StreamCapabilities subject, bool outcome) and had it > throw meaningful exceptions on a failure > We can consider abstract such a method to a test util class and use it for > all {{StreamCapabilities}} tests as needed. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org
[jira] [Updated] (HADOOP-15154) Abstract new method assertCapability for StreamCapabilities testing
[ https://issues.apache.org/jira/browse/HADOOP-15154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Loughran updated HADOOP-15154: Status: Open (was: Patch Available) > Abstract new method assertCapability for StreamCapabilities testing > --- > > Key: HADOOP-15154 > URL: https://issues.apache.org/jira/browse/HADOOP-15154 > Project: Hadoop Common > Issue Type: Improvement > Components: test >Reporter: Xiao Chen >Assignee: Zsolt Venczel >Priority: Minor > Attachments: HADOOP-15154.01.patch, HADOOP-15154.02.patch > > > From Steve's > [comment|https://issues.apache.org/jira/browse/HADOOP-15149?focusedCommentId=16306806=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16306806]: > bq. it'd have been cleaner for the asserts to have been one in a > assertCapability(key, StreamCapabilities subject, bool outcome) and had it > throw meaningful exceptions on a failure > We can consider abstract such a method to a test util class and use it for > all {{StreamCapabilities}} tests as needed. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org
[jira] [Updated] (HADOOP-15154) Abstract new method assertCapability for StreamCapabilities testing
[ https://issues.apache.org/jira/browse/HADOOP-15154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Zsolt Venczel updated HADOOP-15154: --- Attachment: HADOOP-15154.02.patch > Abstract new method assertCapability for StreamCapabilities testing > --- > > Key: HADOOP-15154 > URL: https://issues.apache.org/jira/browse/HADOOP-15154 > Project: Hadoop Common > Issue Type: Improvement > Components: test >Reporter: Xiao Chen >Assignee: Zsolt Venczel >Priority: Minor > Attachments: HADOOP-15154.01.patch, HADOOP-15154.02.patch > > > From Steve's > [comment|https://issues.apache.org/jira/browse/HADOOP-15149?focusedCommentId=16306806=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16306806]: > bq. it'd have been cleaner for the asserts to have been one in a > assertCapability(key, StreamCapabilities subject, bool outcome) and had it > throw meaningful exceptions on a failure > We can consider abstract such a method to a test util class and use it for > all {{StreamCapabilities}} tests as needed. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org
[jira] [Updated] (HADOOP-15154) Abstract new method assertCapability for StreamCapabilities testing
[ https://issues.apache.org/jira/browse/HADOOP-15154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Zsolt Venczel updated HADOOP-15154: --- Attachment: HADOOP-15154.01.patch > Abstract new method assertCapability for StreamCapabilities testing > --- > > Key: HADOOP-15154 > URL: https://issues.apache.org/jira/browse/HADOOP-15154 > Project: Hadoop Common > Issue Type: Improvement > Components: test >Reporter: Xiao Chen >Assignee: Zsolt Venczel >Priority: Minor > Attachments: HADOOP-15154.01.patch > > > From Steve's > [comment|https://issues.apache.org/jira/browse/HADOOP-15149?focusedCommentId=16306806=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16306806]: > bq. it'd have been cleaner for the asserts to have been one in a > assertCapability(key, StreamCapabilities subject, bool outcome) and had it > throw meaningful exceptions on a failure > We can consider abstract such a method to a test util class and use it for > all {{StreamCapabilities}} tests as needed. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org
[jira] [Updated] (HADOOP-15154) Abstract new method assertCapability for StreamCapabilities testing
[ https://issues.apache.org/jira/browse/HADOOP-15154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Zsolt Venczel updated HADOOP-15154: --- Attachment: (was: HADOOP-15154.01.patch) > Abstract new method assertCapability for StreamCapabilities testing > --- > > Key: HADOOP-15154 > URL: https://issues.apache.org/jira/browse/HADOOP-15154 > Project: Hadoop Common > Issue Type: Improvement > Components: test >Reporter: Xiao Chen >Assignee: Zsolt Venczel >Priority: Minor > Attachments: HADOOP-15154.01.patch > > > From Steve's > [comment|https://issues.apache.org/jira/browse/HADOOP-15149?focusedCommentId=16306806=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16306806]: > bq. it'd have been cleaner for the asserts to have been one in a > assertCapability(key, StreamCapabilities subject, bool outcome) and had it > throw meaningful exceptions on a failure > We can consider abstract such a method to a test util class and use it for > all {{StreamCapabilities}} tests as needed. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org
[jira] [Updated] (HADOOP-15154) Abstract new method assertCapability for StreamCapabilities testing
[ https://issues.apache.org/jira/browse/HADOOP-15154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Zsolt Venczel updated HADOOP-15154: --- Attachment: HADOOP-15154.01.patch > Abstract new method assertCapability for StreamCapabilities testing > --- > > Key: HADOOP-15154 > URL: https://issues.apache.org/jira/browse/HADOOP-15154 > Project: Hadoop Common > Issue Type: Improvement > Components: test >Reporter: Xiao Chen >Priority: Minor > Attachments: HADOOP-15154.01.patch > > > From Steve's > [comment|https://issues.apache.org/jira/browse/HADOOP-15149?focusedCommentId=16306806=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16306806]: > bq. it'd have been cleaner for the asserts to have been one in a > assertCapability(key, StreamCapabilities subject, bool outcome) and had it > throw meaningful exceptions on a failure > We can consider abstract such a method to a test util class and use it for > all {{StreamCapabilities}} tests as needed. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org
[jira] [Updated] (HADOOP-15154) Abstract new method assertCapability for StreamCapabilities testing
[ https://issues.apache.org/jira/browse/HADOOP-15154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Zsolt Venczel updated HADOOP-15154: --- Status: Patch Available (was: Open) > Abstract new method assertCapability for StreamCapabilities testing > --- > > Key: HADOOP-15154 > URL: https://issues.apache.org/jira/browse/HADOOP-15154 > Project: Hadoop Common > Issue Type: Improvement > Components: test >Reporter: Xiao Chen >Assignee: Zsolt Venczel >Priority: Minor > Attachments: HADOOP-15154.01.patch > > > From Steve's > [comment|https://issues.apache.org/jira/browse/HADOOP-15149?focusedCommentId=16306806=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16306806]: > bq. it'd have been cleaner for the asserts to have been one in a > assertCapability(key, StreamCapabilities subject, bool outcome) and had it > throw meaningful exceptions on a failure > We can consider abstract such a method to a test util class and use it for > all {{StreamCapabilities}} tests as needed. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org