Skip to content

Commit

Permalink
move some simulation tests to acceptance category to not be run on tr…
Browse files Browse the repository at this point in the history
…avis

Signed-off-by: Rafał Malinowski <rafal.przemyslaw.malinowski@gmail.com>
  • Loading branch information
vogel committed Aug 13, 2019
1 parent c8cb2d8 commit 8cd071b
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/simulation/CoreTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ printStats(int& nLedgers, std::chrono::system_clock::time_point tBegin,
LOG(INFO) << sim->metricsSummary("scp");
}

TEST_CASE("3 nodes 2 running threshold 2", "[simulation][core3]")
TEST_CASE("3 nodes 2 running threshold 2", "[simulation][core3][acceptance]")
{
Simulation::Mode mode = Simulation::OVER_LOOPBACK;
SECTION("Over loopback")
Expand Down Expand Up @@ -104,7 +104,8 @@ TEST_CASE("3 nodes 2 running threshold 2", "[simulation][core3]")
LOG(DEBUG) << "done with core3 test";
}

TEST_CASE("core topology 4 ledgers at scales 2 to 4", "[simulation]")
TEST_CASE("core topology 4 ledgers at scales 2 to 4",
"[simulation][acceptance]")
{
Simulation::Mode mode = Simulation::OVER_LOOPBACK;
SECTION("Over loopback")
Expand Down Expand Up @@ -245,7 +246,7 @@ hierarchicalTopoTest(int nLedgers, int nBranches, Simulation::Mode mode,
REQUIRE(sim->haveAllExternalized(nLedgers + 1, 5));
}

TEST_CASE("hierarchical topology scales 1 to 3", "[simulation]")
TEST_CASE("hierarchical topology scales 1 to 3", "[simulation][acceptance]")
{
Hash networkID = sha256(getTestConfig().NETWORK_PASSPHRASE);
Simulation::Mode mode = Simulation::OVER_LOOPBACK;
Expand Down Expand Up @@ -289,7 +290,7 @@ hierarchicalSimplifiedTest(int nLedgers, int nbCore, int nbOuterNodes,
REQUIRE(sim->haveAllExternalized(nLedgers + 1, 3));
}

TEST_CASE("core nodes with outer nodes", "[simulation]")
TEST_CASE("core nodes with outer nodes", "[simulation][acceptance]")
{
Hash networkID = sha256(getTestConfig().NETWORK_PASSPHRASE);
Simulation::Mode mode = Simulation::OVER_LOOPBACK;
Expand Down

5 comments on commit 8cd071b

@latobarita
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@latobarita
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging vogel/stellar-core/do-not-run-all-tests-on-travis = 8cd071b into auto

@latobarita
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

vogel/stellar-core/do-not-run-all-tests-on-travis = 8cd071b merged ok, testing candidate = d0b9cd3

@latobarita
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@latobarita
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding master to auto = d0b9cd3

Please sign in to comment.