Browse Source

[2209] Fix test after code update

The test faked some internal state in an insufficient way.
Michal 'vorner' Vaner 12 years ago
parent
commit
85ccee0ac4
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/lib/datasrc/tests/client_list_unittest.cc

+ 1 - 0
src/lib/datasrc/tests/client_list_unittest.cc

@@ -293,6 +293,7 @@ public:
         ConfigurableClientList::DataSourceInfo& dsrc_info =
                 list_->getDataSources()[index];
         dsrc_info.cache_ = cache;
+        dsrc_info.segment_ = ztable_segment_;
     }
     // Check the positive result is as we expect it.
     void positiveResult(const ClientList::FindResult& result,