smartdevicelink / sdl_atf_test_scripts

Test scripts for sdl_atf
BSD 3-Clause "New" or "Revised" License
2 stars 60 forks source link

test updates around 0337 #2631

Closed iCollin closed 2 years ago

iCollin commented 2 years ago

ATF Test Scripts to check https://github.com/smartdevicelink/sdl_core/issues/3715

This PR is not ready for review.

Summary

Add tests for 0337 functionality Update tests that were doing PTUs when Core wasn't expecting a PTU

ATF version

latest

Changelog

Tasks Remaining:

CLA

ShobhitAd commented 2 years ago

These tests seem to be failing with an EXTERNAL_PROPRIETARY build on my end

iCollin commented 2 years ago

@ShobhitAd I did see the App_Permissions tests failing and fixed those issues in https://github.com/smartdevicelink/sdl_atf_test_scripts/pull/2631/commits/5ef5c17f92f090a74ed9d51762a40529f115034d

However, I see the other three tests passing. I did have to run some of the longer ones twice, and specifically with regard to 225_ATF_pt_update_validation_rules_request_type_array_has_one_invalid_value.lua, I did see the 223 test from the same folder fail once with a similar error, but re running the test it passed.

ShobhitAd commented 2 years ago

@ShobhitAd I did see the App_Permissions tests failing and fixed those issues in 5ef5c17

However, I see the other three tests passing. I did have to run some of the longer ones twice, and specifically with regard to 225_ATF_pt_update_validation_rules_request_type_array_has_one_invalid_value.lua, I did see the 223 test from the same folder fail once with a similar error, but re running the test it passed.

You're right re-running the tests seems to fix the issue for the other three tests.

VjKlepikov commented 2 years ago

@iCollin Could you please add test scripts test_scripts/Policies/Policy_Table_Update/173_PTU_when_not_UPDATING.lua, test_scripts/Policies/Policy_Table_Update/174_PTU_from_wrong_app.lua to appropriate test_sets

iCollin commented 2 years ago

@VjKlepikov yes thank you, I have created a PR