Skip to content

Commit

Permalink
increase steps for bp sz test
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonRuonanWang committed Mar 25, 2022
1 parent c2f80a8 commit 989f866
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions testing/adios2/engine/bp/operations/TestBPWriteReadSZ.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -881,7 +881,7 @@ void SZAccuracy2DSmallSel(const std::string accuracy)
const size_t Ny = 5;

// Number of steps
const size_t NSteps = 1;
const size_t NSteps = 5000;

std::vector<float> r32s = {0.00, 0.01, 0.02, 0.03, 0.04, 0.05, 0.06,
0.07, 0.08, 0.09, 0.10, 0.11, 0.12, 0.13,
Expand Down Expand Up @@ -969,14 +969,12 @@ void SZAccuracy2DSmallSel(const std::string accuracy)
auto var_r32 = io.InquireVariable<float>("r32");
EXPECT_TRUE(var_r32);
ASSERT_EQ(var_r32.ShapeID(), adios2::ShapeID::GlobalArray);
ASSERT_EQ(var_r32.Steps(), NSteps);
ASSERT_EQ(var_r32.Shape()[0], mpiSize * Nx);
ASSERT_EQ(var_r32.Shape()[1], Ny);

auto var_r64 = io.InquireVariable<double>("r64");
EXPECT_TRUE(var_r64);
ASSERT_EQ(var_r64.ShapeID(), adios2::ShapeID::GlobalArray);
ASSERT_EQ(var_r64.Steps(), NSteps);
ASSERT_EQ(var_r64.Shape()[0], mpiSize * Nx);
ASSERT_EQ(var_r64.Shape()[1], Ny);

Expand Down

0 comments on commit 989f866

Please sign in to comment.