Skip to content

Commit

Permalink
minor fix for dataman tests
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonRuonanWang committed Aug 20, 2019
1 parent d009459 commit 2ed2b80
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions source/adios2/engine/dataman/DataManReader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ DataManReader::DataManReader(IO &io, const std::string &name, const Mode mode,

m_ZmqRequester.OpenRequester(m_Timeout, m_ReceiverBufferSize);

m_Verbosity = 10;

if (m_StagingMode == "wide")
{
if (m_IPAddress.empty())
Expand Down
2 changes: 1 addition & 1 deletion testing/adios2/engine/dataman/TestDataMan.h
Original file line number Diff line number Diff line change
Expand Up @@ -286,8 +286,8 @@ void DataManReaderP2P(const Dims &shape, const Dims &start, const Dims &count,
auto attInt = dataManIO.InquireAttribute<int>("AttInt");
ASSERT_EQ(110, attInt.Data()[0]);
ASSERT_NE(111, attInt.Data()[0]);
ASSERT_EQ(currentStep + 1, steps);
}
ASSERT_EQ(currentStep + 1, steps);
dataManReader.Close();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -335,8 +335,8 @@ void DataManReaderP2PMemSelect(const Dims &shape, const Dims &start,
<< ", expected 110" << std::endl;
ASSERT_EQ(110, attInt.Data()[0]);
ASSERT_NE(111, attInt.Data()[0]);
ASSERT_EQ(currentStep + 1, steps);
}
ASSERT_EQ(currentStep + 1, steps);
dataManReader.Close();
print_lines = 0;
}
Expand Down

0 comments on commit 2ed2b80

Please sign in to comment.