From 876576e568429baf3c2f248f0c05630b574cb54a Mon Sep 17 00:00:00 2001 From: Terry Michaels Date: Fri, 12 Nov 2021 08:02:12 -0600 Subject: [PATCH 1/2] Trackview Fixture now disables save on finalize Signed-off-by: Terry Michaels --- Code/Editor/Lib/Tests/test_TrackViewPythonBindings.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Code/Editor/Lib/Tests/test_TrackViewPythonBindings.cpp b/Code/Editor/Lib/Tests/test_TrackViewPythonBindings.cpp index 191596f4ae..391287e5f7 100644 --- a/Code/Editor/Lib/Tests/test_TrackViewPythonBindings.cpp +++ b/Code/Editor/Lib/Tests/test_TrackViewPythonBindings.cpp @@ -94,6 +94,7 @@ namespace TrackViewPythonBindingsUnitTests m_app.Start(appDesc); m_app.RegisterComponentDescriptor(AzToolsFramework::TrackViewComponent::CreateDescriptor()); + AZ::UserSettingsComponentRequestBus::Broadcast(&AZ::UserSettingsComponentRequests::DisableSaveOnFinalize); } void TearDown() override From 9e84c409bdf8c08a98ece610e0b9462cfe03047d Mon Sep 17 00:00:00 2001 From: Terry Michaels Date: Fri, 12 Nov 2021 08:03:43 -0600 Subject: [PATCH 2/2] Trackview Fixture now disables save on finalize Signed-off-by: Terry Michaels --- Code/Editor/Lib/Tests/test_TrackViewPythonBindings.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Code/Editor/Lib/Tests/test_TrackViewPythonBindings.cpp b/Code/Editor/Lib/Tests/test_TrackViewPythonBindings.cpp index 391287e5f7..88a4b4f63f 100644 --- a/Code/Editor/Lib/Tests/test_TrackViewPythonBindings.cpp +++ b/Code/Editor/Lib/Tests/test_TrackViewPythonBindings.cpp @@ -94,6 +94,8 @@ namespace TrackViewPythonBindingsUnitTests m_app.Start(appDesc); m_app.RegisterComponentDescriptor(AzToolsFramework::TrackViewComponent::CreateDescriptor()); + + // Disable saving global user settings to prevent failure due to detecting file updates AZ::UserSettingsComponentRequestBus::Broadcast(&AZ::UserSettingsComponentRequests::DisableSaveOnFinalize); }