Skip to content

Conversation

lvydra
Copy link
Contributor

@lvydra lvydra commented Sep 18, 2024

@lvydra
Copy link
Contributor Author

lvydra commented Sep 18, 2024

@darranl Well, it seems that FileSystemEncryptRealmCommandTes.testOverwritingScriptFileTrue is intermittently failing. I will try to tweak it.

@darranl darranl added the +1 DAL label Sep 19, 2024
@fjuma
Copy link
Contributor

fjuma commented Sep 19, 2024

@lvydra Looks like this is still flaky on CI.

@lvydra
Copy link
Contributor Author

lvydra commented Sep 20, 2024

@fjuma @darranl Please rerun the tests to confirm if the changes are stable.

@darranl
Copy link
Contributor

darranl commented Sep 20, 2024

Last run was green, running again for stability.

@fjuma
Copy link
Contributor

fjuma commented Sep 20, 2024

Last run was green, running again.

@fjuma
Copy link
Contributor

fjuma commented Sep 20, 2024

@lvydra Just so we can reference this later on if needed, would you be able to add a quick comment about the intermittent failure and how it was fixed?

@lvydra
Copy link
Contributor Author

lvydra commented Sep 23, 2024

Sure @fjuma . In FileSystemEncryptRealmCommandTest I have been using File.lastModified() method to check if the file has been modified, but as I have found out later this method does not always return the latest value on Windows probably due to the file attributes caching.
So I switched to assertion based on file content.

@darranl darranl removed the hold label Sep 24, 2024
@lvydra
Copy link
Contributor Author

lvydra commented Nov 15, 2024

Hi @fjuma, could you look at this one again, thanks.

<attribute name="role" value="admin"></attribute>
</attributes>

</identity>
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should run a formatter on this XML file ;-)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @rhusar, updated.

Copy link

@rhusar rhusar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏼 No more comments from me.

@ivassile
Copy link
Contributor

ivassile commented Apr 2, 2025

@fjuma / @darranl This PR is ready and can be merged.

@darranl
Copy link
Contributor

darranl commented Apr 13, 2025

@lvydra sorry but we still seem to have CI failures #2272

Copy link
Contributor

@darranl darranl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See comments

@lvydra
Copy link
Contributor Author

lvydra commented Apr 14, 2025

Hi @darranl, thanks for looking at it. This change should help.

@Skyllarr
Copy link
Contributor

@lvydra sorry but we still seem to have CI failures #2272

@darranl You requested changes on this PR because the CI was failing (#2272). This PR was updated and the CI now passes here. So you can merge this one and close #2272

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants