Bug 154451 - UITest: enable oneprocess mode
Summary: UITest: enable oneprocess mode
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
7.6.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:7.6.0 target:7.6.0.0.beta2 tar...
Keywords: difficultyBeginner, easyHack, skillTest, topicDebug
Depends on:
Blocks: Dev-related
  Show dependency treegraph
 
Reported: 2023-03-29 15:09 UTC by Xisco Faulí
Modified: 2024-01-01 00:18 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Xisco Faulí 2023-03-29 15:09:20 UTC
This easyHack is about enabling oneprocess mode in UItests.

See f5d97d14a2169c23b801d5d09ea19c001d36bba1 for more information

"A uitest suite may have several testcases and we spend a lot of time
spinning up a new soffice process for each testcase, while we typically
do such initialization only once for per testsuites in the cppunit case,
slowing down uitests.

Fix the problem by adding an opt-in way, so that a uitest suite can
declare that it's safe to run the entire suite with the same soffice
process."

Example: f7ec6a19dca9619bce038dd0aee88765a93255f6

it's important to add to the commit message the difference in execution time.
Comment 1 Xisco Faulí 2023-03-30 07:28:06 UTC
You can lists what's remaining to be converted with the script in bin/count-slow-uitests
Comment 2 Commit Notification 2023-04-04 13:31:43 UTC
Miklos Vajna committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/18cab645488184f1d861fb4e67aebb383f6e3779

tdf#154451 UITest_impress_tests{,2}: enable oneprocess mode

It will be available in 7.6.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 3 Commit Notification 2023-04-13 15:39:51 UTC
Miklos Vajna committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/8c8e4ae16472a1a234b02144bb075dc179dfd6df

tdf#154451 uitest: use more oneprocess mode

It will be available in 7.6.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 4 Commit Notification 2023-05-09 13:58:11 UTC
Xisco Fauli committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/b189172dd639f79bdf6564c2b9fab532fdcfe8cd

tdf#154451 uitest: use more oneprocess mode

It will be available in 7.6.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 5 Commit Notification 2023-06-12 18:49:10 UTC
Xisco Fauli committed a patch related to this issue.
It has been pushed to "libreoffice-7-6":

https://git.libreoffice.org/core/commit/88f341185b0000d704f108a26a9be5b6b851dd0a

tdf#154451 UITest_impress_tests: do not use oneprocess mode for now

It will be available in 7.6.0.0.beta2.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 6 Commit Notification 2023-06-12 18:49:13 UTC
Xisco Fauli committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/ad97339a63929d6c63a31c60421eae8c236db529

tdf#154451 UITest_impress_tests: do not use oneprocess mode for now

It will be available in 24.2.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.