[ https://issues.apache.org/jira/browse/HADOOP-15987?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16712897#comment-16712897 ]
Gabor Bota commented on HADOOP-15987: ------------------------------------- Uploaded patch 001 with additional docs fix: we don't have local dynamo to test against, and the parameter is {{auth}} instead of {{non-auth}}. Tested against eu-west-1. {{testWithMiniCluster(org.apache.hadoop.fs.s3a.yarn.ITestS3AMiniYarnCluster)}} still failing, other flaky tests are tracked continously in [S3A test failure tracker|https://docs.google.com/spreadsheets/d/1Z9dkg5yC7Hu7VQ5G2Wz40hG1pb0DhLuLjJ3PZe7WL3Q/edit?usp=sharing]. > ITestDynamoDBMetadataStore should check if test ddb table set properly before > initializing the test > --------------------------------------------------------------------------------------------------- > > Key: HADOOP-15987 > URL: https://issues.apache.org/jira/browse/HADOOP-15987 > Project: Hadoop Common > Issue Type: Sub-task > Components: fs/s3 > Affects Versions: 3.1.0 > Reporter: Gabor Bota > Assignee: Gabor Bota > Priority: Major > Attachments: HADOOP-15987.001.patch > > > The jira covers the following: > * We should assert that the table name is configured when > DynamoDBMetadataStore is used for testing, so the test should fail if it's > not configured. > * We should assert that the test table is not the same as the production > table, as the test table could be modified and destroyed multiple times > during the test. > * This behavior should be added to the testing docs. > [Assume from junit > doc|http://junit.sourceforge.net/javadoc/org/junit/Assume.html]: > {noformat} > A set of methods useful for stating assumptions about the conditions in which > a test is meaningful. > A failed assumption does not mean the code is broken, but that the test > provides no useful information. > The default JUnit runner treats tests with failing assumptions as ignored. > {noformat} > A failed assert will cause test failure instead of just skipping the test. -- 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