This is an automated email from the ASF dual-hosted git repository. zhanglei pushed a commit to branch SCB-1321 in repository https://gitbox.apache.org/repos/asf/servicecomb-pack.git
commit e19d72f08de4d2548e26d26cb0ade9f6a4fe9f4e Author: Lei Zhang <[email protected]> AuthorDate: Wed Jul 10 20:07:29 2019 +0800 SCB-1321 Modify Scenario Name --- ...ion_after_post_car_compensated_scenario.feature | 2 +- ...n_after_post_hotel_compensated_scenario.feature | 2 +- ...pack_booking_timeout_suspended_scenario.feature | 2 +- ...ck_booking_timeout_suspended_scenario.feature 2 | 44 ---------------------- .../pack_car_fail_compensated_scenario.feature | 2 +- .../pack_hotel_fail_compensated_scenario.feature | 2 +- 6 files changed, 5 insertions(+), 49 deletions(-) diff --git a/acceptance-tests/acceptance-pack-akka-spring-demo/src/test/resources/pack_booking_exception_after_post_car_compensated_scenario.feature b/acceptance-tests/acceptance-pack-akka-spring-demo/src/test/resources/pack_booking_exception_after_post_car_compensated_scenario.feature index 1aae5ee..dd441dd 100644 --- a/acceptance-tests/acceptance-pack-akka-spring-demo/src/test/resources/pack_booking_exception_after_post_car_compensated_scenario.feature +++ b/acceptance-tests/acceptance-pack-akka-spring-demo/src/test/resources/pack_booking_exception_after_post_car_compensated_scenario.feature @@ -15,7 +15,7 @@ Feature: Alpha records transaction events - Scenario: Booking Exception After Post Hotel Secenario + Scenario: Booking Exception After Car Hotel Secenario Given Car Service is up and running And Hotel Service is up and running And Booking Service is up and running diff --git a/acceptance-tests/acceptance-pack-akka-spring-demo/src/test/resources/pack_booking_exception_after_post_hotel_compensated_scenario.feature b/acceptance-tests/acceptance-pack-akka-spring-demo/src/test/resources/pack_booking_exception_after_post_hotel_compensated_scenario.feature index aa7f155..15aa8eb 100644 --- a/acceptance-tests/acceptance-pack-akka-spring-demo/src/test/resources/pack_booking_exception_after_post_hotel_compensated_scenario.feature +++ b/acceptance-tests/acceptance-pack-akka-spring-demo/src/test/resources/pack_booking_exception_after_post_hotel_compensated_scenario.feature @@ -15,7 +15,7 @@ Feature: Alpha records transaction events - Scenario: Booking Exception After Post Car Secenario + Scenario: Booking Exception After Post Hotel Secenario Given Car Service is up and running And Hotel Service is up and running And Booking Service is up and running diff --git a/acceptance-tests/acceptance-pack-akka-spring-demo/src/test/resources/pack_booking_timeout_suspended_scenario.feature b/acceptance-tests/acceptance-pack-akka-spring-demo/src/test/resources/pack_booking_timeout_suspended_scenario.feature index 1cfce0e..8b4a707 100644 --- a/acceptance-tests/acceptance-pack-akka-spring-demo/src/test/resources/pack_booking_timeout_suspended_scenario.feature +++ b/acceptance-tests/acceptance-pack-akka-spring-demo/src/test/resources/pack_booking_timeout_suspended_scenario.feature @@ -15,7 +15,7 @@ Feature: Alpha records transaction events - Scenario: A transaction timeout and will be compensated + Scenario: Booking transaction timeout and will be suspended Given Car Service is up and running And Hotel Service is up and running And Booking Service is up and running diff --git a/acceptance-tests/acceptance-pack-akka-spring-demo/src/test/resources/pack_booking_timeout_suspended_scenario.feature 2 b/acceptance-tests/acceptance-pack-akka-spring-demo/src/test/resources/pack_booking_timeout_suspended_scenario.feature 2 deleted file mode 100644 index 1cfce0e..0000000 --- a/acceptance-tests/acceptance-pack-akka-spring-demo/src/test/resources/pack_booking_timeout_suspended_scenario.feature 2 +++ /dev/null @@ -1,44 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -Feature: Alpha records transaction events - - Scenario: A transaction timeout and will be compensated - Given Car Service is up and running - And Hotel Service is up and running - And Booking Service is up and running - And Alpha is up and running - - Given Install the byteman script booking_timeout.btm to Booking Service - - When User Sean requests to book 1 cars and 1 rooms fail - - Then Alpha records the following events - | serviceName | type | - | booking | SagaStartedEvent | - | car | TxStartedEvent | - | car | TxEndedEvent | - | hotel | TxStartedEvent | - | hotel | TxEndedEvent | - - - Then Car Service contains the following booking orders - | id | name | amount | confirmed | cancelled | - | 1 | Sean | 1 | true | false | - - Then Hotel Service contains the following booking orders - | id | name | amount | confirmed | cancelled | - | 1 | Sean | 1 | true | false | - diff --git a/acceptance-tests/acceptance-pack-akka-spring-demo/src/test/resources/pack_car_fail_compensated_scenario.feature b/acceptance-tests/acceptance-pack-akka-spring-demo/src/test/resources/pack_car_fail_compensated_scenario.feature index 01a073e..3abf2d0 100644 --- a/acceptance-tests/acceptance-pack-akka-spring-demo/src/test/resources/pack_car_fail_compensated_scenario.feature +++ b/acceptance-tests/acceptance-pack-akka-spring-demo/src/test/resources/pack_car_fail_compensated_scenario.feature @@ -15,7 +15,7 @@ Feature: Alpha records transaction events - Scenario: A sub-transaction failed and global transaction compensated + Scenario: Car sub-transaction failed and global transaction compensated Given Car Service is up and running And Hotel Service is up and running And Booking Service is up and running diff --git a/acceptance-tests/acceptance-pack-akka-spring-demo/src/test/resources/pack_hotel_fail_compensated_scenario.feature b/acceptance-tests/acceptance-pack-akka-spring-demo/src/test/resources/pack_hotel_fail_compensated_scenario.feature index f8f0e64..0e11ae9 100644 --- a/acceptance-tests/acceptance-pack-akka-spring-demo/src/test/resources/pack_hotel_fail_compensated_scenario.feature +++ b/acceptance-tests/acceptance-pack-akka-spring-demo/src/test/resources/pack_hotel_fail_compensated_scenario.feature @@ -15,7 +15,7 @@ Feature: Alpha records transaction events - Scenario: A sub-transaction failed and global transaction compensated + Scenario: Hotel sub-transaction failed and global transaction compensated Given Car Service is up and running And Hotel Service is up and running And Booking Service is up and running
