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

OptCachedTest.java:59-69: There is repeating logic in... #2821

Open
0pdd opened this issue Jan 26, 2024 · 0 comments
Open

OptCachedTest.java:59-69: There is repeating logic in... #2821

0pdd opened this issue Jan 26, 2024 · 0 comments

Comments

@0pdd
Copy link

0pdd commented Jan 26, 2024

The puzzle 2790-b1dbe786 from #2790 has to be resolved:

* @todo #2790:30min There is repeating logic in tests.
* Code logic repeats in {@link OptCacedTest},
* {@link OptimizeMojoTest.getAlreadyOptimizedResultsFromCache}
* and {@link ShakeMojoTest.getAlreadyShakenResultsFromCache}.
* To check whether a program is loaded from the cache,
* different tests use the same code
* { @code Files.setLastModifiedTime(
* res,
* FileTime.fromMillis(System.currentTimeMillis() + time)
* ); }.
* We need to think about how to remove this duplication.

The puzzle was created by rultor on 26-Jan-24.

Estimate: 30 minutes, role: DEV.

If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.

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

No branches or pull requests

3 participants