Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use correct file root when testing against embedded distribution #1798

Merged
merged 6 commits into from
Jan 18, 2024

Conversation

labkey-tchad
Copy link
Member

@labkey-tchad labkey-tchad commented Jan 17, 2024

Rationale

Files are stored in build/deploy/embedded/server/files instead of build/deploy/files when the server was started from an embedded distribution (as on TeamCity).

Failure from FolderExportTest:

org.openqa.selenium.TimeoutException: Folder export not present: /mnt/teamcity/work/769581da7f79098c/build/deploy/files/FolderExportTest/1 Folder From Zip/@files/export <1m 0s>
  at org.labkey.test.WebDriverWrapper.waitFor(WebDriverWrapper.java:2257)
  at org.labkey.test.WebDriverWrapper.waitFor(WebDriverWrapper.java:2250)
  at org.labkey.test.tests.FolderExportTest.verifyFolderExportAsExpected(FolderExportTest.java:510)
  at org.labkey.test.tests.FolderExportTest.verifyImportFromZip(FolderExportTest.java:491)
  at org.labkey.test.tests.FolderExportTest.testImport(FolderExportTest.java:158)

Related Pull Requests

  • N/A

Changes

  • Find correct file root when testing against embedded distribution

@labkey-tchad labkey-tchad requested review from a team and labkey-sweta and removed request for a team January 17, 2024 05:24
@labkey-tchad
Copy link
Member Author

@labkey-tchad labkey-tchad merged commit 7bf43fc into develop Jan 18, 2024
2 of 3 checks passed
@labkey-tchad labkey-tchad deleted the fb_embedded_baseFileRoot branch January 18, 2024 01:05
@labkey-tchad labkey-tchad changed the title Find correct file root when testing against embedded distribution Use correct file root when testing against embedded distribution Jan 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants