Skip to content

[GENIVI] SDL should respond "IGNORED" with correct result code for UnSubscribeVehicleData in case vi interface isn't available #5

Description

@DrachenkoAnastasiia

Occurrence:
Always

Preconditions:

  1. SubscribeVehicleData and UnSubscribeVehicleData are allowed in PT

Steps to reproduce:

  1. RegisterApp in case HMI does not respond to VehicleInfo.IsReady.
  2. Activate app
  3. Send SubscribeVehicleData with gps = true -> SDL responds with SUCCESS.
  4. Send UnSubscribeVehicleData with gps = true

Expected result:
SDL should respond "
{success = false, resultCode = "IGNORED", info = "Some provided VehicleData was not subscribed."}
" code to mobile app.

Actual result:
SDL respond "
{success = true, resultCode = "IGNORED", info = "Already subscribed on some provided VehicleData."}
".

Problem can be reproduced with ATF script:

  1. Move IsReady_Template folder into sdl_atf\user_modules
  2. Go to atf folder -> Run command: ./start.sh ../ATF_VehicleInfo_IsReady_available_false_SingleRPC.lua

Environment:
Verified on release SDL_RB_B3.37.
Failed
SDL repo: https://github.com/smartdevicelink/sdl_core/
SDL branch: a6c32b45832653d6b851be9b19355fa35f377e07
HMI: HTML5
ATF version: 2.2
ATF repo: https://github.com/smartdevicelink/sdl_atf/
ATF branch: 962e1eff8664d97af5e59ec4e22f39b9ea76f5eb
Scripts repo: https://github.com/CustomSDL/sdl_atf_test_scripts/tree/OS_DRAFT
Scripts branch: 18cce42
OS: Ubuntu 14.04.01
Transport: Wi-Fi
Mobile device: -
Mobile OS: -
Mobile App version: -
Mobile App type (media/non-media/navi/any): any
Virtual Machine using (yes/no): no

Attachments:
Uploading att_issue#5.zip…

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions