You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by ni...@apache.org on 2018/01/25 10:40:34 UTC
[incubator-servicecomb-saga] 03/03: SCB-278 reordered expectations
to fix random test failure
This is an automated email from the ASF dual-hosted git repository.
ningjiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-servicecomb-saga.git
commit 506a10e9275560b2a7adc3945cbda963264921b6
Author: seanyinx <se...@gmail.com>
AuthorDate: Thu Jan 25 15:51:34 2018 +0800
SCB-278 reordered expectations to fix random test failure
Signed-off-by: seanyinx <se...@gmail.com>
---
.../src/test/resources/pack_compensation_scenario.feature | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/acceptance-tests/acceptance-pack/src/test/resources/pack_compensation_scenario.feature b/acceptance-tests/acceptance-pack/src/test/resources/pack_compensation_scenario.feature
index 170fcfe..81e5ac5 100644
--- a/acceptance-tests/acceptance-pack/src/test/resources/pack_compensation_scenario.feature
+++ b/acceptance-tests/acceptance-pack/src/test/resources/pack_compensation_scenario.feature
@@ -8,13 +8,6 @@ Feature: Alpha records transaction events
When User Sean requests to book 5 cars and 3 rooms
- Then Car Service contains the following booking orders
- | name | amount | confirmed | cancelled |
- | Sean | 5 | false | true |
-
- Then Hotel Service contains the following booking orders
- | name | amount | confirmed | cancelled |
-
Then Alpha records the following events
| serviceName | type |
| pack-booking | SagaStartedEvent |
@@ -24,3 +17,10 @@ Feature: Alpha records transaction events
| pack-hotel | TxAbortedEvent |
| pack-car | TxCompensatedEvent |
| pack-car | SagaEndedEvent |
+
+ Then Car Service contains the following booking orders
+ | name | amount | confirmed | cancelled |
+ | Sean | 5 | false | true |
+
+ Then Hotel Service contains the following booking orders
+ | name | amount | confirmed | cancelled |
--
To stop receiving notification emails like this one, please contact
ningjiang@apache.org.