[ 
https://issues.apache.org/jira/browse/IGNITE-481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15533904#comment-15533904
 ] 

Ivan Veselovsky edited comment on IGNITE-481 at 9/30/16 12:24 PM:
------------------------------------------------------------------

1) merged 1.6.9 into this branch ;
2) adapted and refactored block tests to be more generic to be able to handle 
PROXY mode also.
3) problem: in proxy mode 1 was added upon multiple blocks write instead of 
real number of blocks -- fixed.
4) problem: due to prefetch feature number of read blocks was wrong in some 
cases. Currently fixed by setting prefetch = 0 in the test. Better should be 
fixed expectation accordingly.
5) TODO: In 
org.apache.ignite.internal.processors.hadoop.impl.igfs.Hadoop1DualAbstractTest  
test block writes to primary and secondary fs are counted both in total 
counter, while in other IGFS-IGFS tests are not . this currently causes the 
test to fail. 
6) org.apache.ignite.internal.processors.igfs.IgfsOutputStreamImpl#close
org.apache.ignite.internal.processors.igfs.IgfsOutputStreamProxyImpl#close  
in error execution path were throwing exception *before* updateMetricsOnClose() 
invocation, so the number of locks get incorrect in concurrent tests -- fixed.



was (Author: iveselovskiy):
1) merged 1.6.9 into this branch ;
2) adapted and refactored block tests to be more generic to be able to handle 
PROXY mode also.
3) problem: in proxy mode 1 was added upon multiple blocks write instead of 
real number of blocks -- fixed.
4) problem: due to prefetch feature number of read blocks was wrong in some 
cases. Currently fixed by setting prefetch = 0 in the test. Better should be 
fixed expectation accordingly.
5) TODO: In 
org.apache.ignite.internal.processors.hadoop.impl.igfs.Hadoop1DualAbstractTest  
test block writes to primary and secondary fs are counted both in total 
counter, while in other IGFS-IGFS tests are not . this currently causes the 
test to fail. 

> Add tests for Metrics to the file system tests infrastructure
> -------------------------------------------------------------
>
>                 Key: IGNITE-481
>                 URL: https://issues.apache.org/jira/browse/IGNITE-481
>             Project: Ignite
>          Issue Type: Task
>          Components: hadoop
>    Affects Versions: sprint-2
>            Reporter: Ivan Veselovsky
>            Assignee: Ivan Veselovsky
>            Priority: Minor
>             Fix For: 1.8
>
>
> Need to add tests for org.apache.ignite.igfs.IgfsMetrics to the filesystem 
> tests.
> See org.apache.ignite.IgniteFileSystem#metrics , 
> org.apache.ignite.IgniteFileSystem#resetMetrics .



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to