[
https://issues.apache.org/jira/browse/HBASE-5109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ted Yu resolved HBASE-5109.
---------------------------
Resolution: Not a Problem
TestAvroServer doesn't exist any more.
> Fix TestAvroServer so that it waits properly for the modifyTable operation to
> complete
> --------------------------------------------------------------------------------------
>
> Key: HBASE-5109
> URL: https://issues.apache.org/jira/browse/HBASE-5109
> Project: HBase
> Issue Type: Bug
> Components: test
> Reporter: Ming Ma
> Assignee: Ming Ma
> Attachments: HBASE-5109-0.92.patch
>
>
> TestAvroServer has the following issue
>
> impl.modifyTable(tableAname, tableA);
> // It can take a while for the change to take effect. Wait here a while.
> while(impl.describeTable(tableAname) == null ) {
> Threads.sleep(100);
> }
> assertTrue(impl.describeTable(tableAname).maxFileSize == 123456L);
>
> impl.describeTable(tableAname) returns the default maxSize 256M right away as
> modifyTable is async. Before HBASE-4328 is fixed, we can fix the test code to
> wait for say max of 5 seconds to check if
> impl.describeTable(tableAname).maxFileSize is uploaded to 123456L.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)