fixes the nightly GPU test

Signed-off-by: John <jonawals@amazon.com>
This commit is contained in:
jromnoa
2021-06-23 14:49:18 -07:00
committed by John
parent 372660f1bf
commit 3e659b5107
2 changed files with 6 additions and 3 deletions
@@ -99,8 +99,8 @@ def run():
# Wait for Editor idle loop before executing Python hydra scripts.
general.idle_enable(True)
# Create a new level.
new_level_name = "all_components_indepth_level" # Specified in class TestAllComponentsIndepthTests()
# Open the auto_test level.
new_level_name = "auto_test" # Specified in class TestAllComponentsIndepthTests()
heightmap_resolution = 512
heightmap_meters_per_pixel = 1
terrain_texture_resolution = 412
@@ -17,6 +17,7 @@ import os
import pytest
import ly_test_tools.environment.file_system as file_system
from ly_test_tools.image.screenshot_compare_qssim import qssim as compare_screenshots
import editor_python_test_tools.hydra_test_utils as hydra
logger = logging.getLogger(__name__)
@@ -81,7 +82,9 @@ class TestAllComponentsIndepthTests(object):
unexpected_lines=unexpected_lines,
halt_on_unexpected=True,
cfg_args=[level],
auto_test_mode=False,
null_renderer=False,
)
for test_screenshot, golden_screenshot in zip(test_screenshots, golden_images):
self.compare_screenshots(test_screenshot, golden_screenshot)
compare_screenshots(test_screenshot, golden_screenshot)