Skip to content

Long Test Execution Times in entity.py save() Method #445

@vtsvetkov-splunk

Description

@vtsvetkov-splunk

We are experiencing significant delays in test execution times. The bottleneck has been identified in the save() method within entity.py.

The method currently takes ~60 seconds to complete, which is significantly longer than necessary.

The method waits sequentially for the following operations:

  • get_error() method: ~20 seconds
  • get_warning() method: ~20 seconds
  • wait_loading() method: ~20 seconds

In most cases, there are no error messages and the save operation is successful. However, the method still waits for the full 60 seconds to complete.

For timing details of each operation, please refer to this draft PR: https://github.com/splunk/addon-factory-smartx-ui-test-library/actions/runs/12993537981?pr=444

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions