Skip to content
Snippets Groups Projects
Commit b7cf5063 authored by Eric Cano's avatar Eric Cano
Browse files

Fixed mixup in files/bytes criteria in clientSimulator leading to failed unit tests.

parent eda359ee
Branches
Tags
No related merge requests found
......@@ -200,7 +200,7 @@ bool ClientSimulator::processOneRequest()
uint32_t files = 0;
uint64_t bytes = 0;
tapegateway::FilesToMigrateList reply;
while (files < req.maxFiles() && bytes < req.maxFiles()) {
while (files < req.maxFiles() && bytes < req.maxBytes()) {
if (m_filesToMigrate.size()) {
files++;
std::auto_ptr<tapegateway::FileToMigrateStruct> ftm(new tapegateway::FileToMigrateStruct);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment