sodonnel commented on PR #5250:
URL: https://github.com/apache/ozone/pull/5250#issuecomment-1708003967

   These are unit tests, not integration tests. If you look at the rest of the 
tests in ReplicationSupervisor, they have mocked the import / export parts out, 
and test only the features of the ReplicationSupervisor - limits, expiring old 
entries, metric counting etc. This new test is very different, and involves 
setting up volumes etc to facilitate testing the importer and exporter, which 
are part of the KeyValueContainer class. There should be unit level tests in 
KeyValueContainer which validate that units behavior, which in this case is 
importing V2 to V3. The tests will also likely be easier to write and 
understand, and probably faster to execute.
   
   Another side issue is that there are two code paths in the replicator tasks 
now - the push and pull replication modes. Pull is basically dead - we don't 
use it anymore in the new replication manager, which is the default now. The 
test added here I think uses the download and import code path, which is the 
old model.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to