You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
o3de/AutomatedTesting/Gem/PythonTests/assetpipeline/ap_fixtures
AMZN-stankowi 38a34d811d
Update default bundle size limit to fit slightly larger content. Longer term we'll want to refactor these tests so they don't start failing to seemingly unrelated upstream changes, but for now this buys us time to work on other, more important things. (#7414)
What happened to cause this:
The test_WindowsAndMac_BundlesAndBundleSettings_EquivalentOutput test bundles the same content in two different ways, with the final intention to compare and verify the results are the same.

It's bundling up the level levels\testdependencieslevel\testdependencieslevel.spawnable

Along the way, it verifies the bundles it gets are what it expects. One of the bundle settings it uses is a relatively small maximum bundle size of 5 mib.

Note that when we use a maximum bundle size, it's not a hard limit, it's just when we go to create a new bundle, if the current bundle size + next file would make the bundle too big, it starts a new bundle. This means you can have bundles go over the bundle size in the case where one file is larger than the bundle size limit.

Somehow, one of the files referenced from this bundle ( goegap_4k_skyboxcm.exr.streamingimage ) is now 24 MB, which is larger than the default bundle size originally used, which is why the test fails, it goes to examine the contents of the second pak file of the first bundle, and it's larger than the maximum bundle size. That's why the test is failing.

Changing this to 30 mib causes this test to continue to pass.

Signed-off-by: AMZN-stankowi <4838196+AMZN-stankowi@users.noreply.github.com>
4 years ago
..
__init__.py Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
ap_all_platforms_setup_fixture.py Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
ap_config_backup_fixture.py Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
ap_config_default_platform_fixture.py Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
ap_external_project_setup_fixture.py Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
ap_fast_scan_setting_backup_fixture.py {lyn7677} updated test modules to pass AssetPipelineTests on Linux (#5017) 4 years ago
ap_idle_fixture.py Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
ap_missing_dependency_fixture.py updated missing dependency tests to use assets that aren't deprecated (#5916) 4 years ago
ap_setup_fixture.py Removes _vs2019 from jenkins jobs and documentation (#5855) 4 years ago
asset_processor_fixture.py Added an assert to verify AP and AP Batch close on teardown. (#5891) 4 years ago
bundler_batch_setup_fixture.py Update default bundle size limit to fit slightly larger content. Longer term we'll want to refactor these tests so they don't start failing to seemingly unrelated upstream changes, but for now this buys us time to work on other, more important things. (#7414) 4 years ago
clear_moveoutput_fixture.py Remove incorrect comment 4 years ago
clear_testingAssets_dir.py Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
one_time_log_fixture.py Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
timeout_option_fixture.py Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago