-
Notifications
You must be signed in to change notification settings - Fork 33
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
Refactoring to use test watcher for unit tests as well. #1513
Conversation
Signed-off-by: F Bojarski <ceciestunepoubelle@protonmail.ch>
Signed-off-by: F Bojarski <ceciestunepoubelle@protonmail.ch>
…/watch-unit-tests
…/watch-unit-tests
@@ -105,6 +119,16 @@ public class BlockchainReferenceTestTools { | |||
// Absurd amount of gas, doesn't run in parallel. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I imagine that the CALL50000 could prove problematic with the MemoryRange implementation we currently have @letypequividelespoubelles ^^ If we have to keep 50k snapshots of memory ^^ I mean, it's not an issue. But I wonder whether the tests that @amkCha was able to run again on that 64GB machine would crash with our current tracer.
reference-tests/src/test/java/net/consensys/linea/BlockchainReferenceTestTools.java
Show resolved
Hide resolved
.../consensys/linea/zktracer/instructionprocessing/callTests/prc/ecrecover/GasStipendTests.java
Outdated
Show resolved
Hide resolved
} | ||
|
||
public static void addSkipped() { | ||
disabledCounter.incrementAndGet(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's strange that we talk about disabled
and skipped
rather than having one word for both. Presumably disabled
makes the most sense if it in any way involves the @Disabled
annotation (which I have no idea if it does or not)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it comes from the interface i implement. So I guess it's standard.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Modulo the deletion of a test file which I don't know if it was intentional and my limited understanding of other parts, it looks good to me.
@@ -105,6 +119,16 @@ public class BlockchainReferenceTestTools { | |||
// Absurd amount of gas, doesn't run in parallel. | |||
PARAMS.ignore("randomStatetest94_\\w+"); | |||
|
|||
// Balance is more than 128 bits | |||
PARAMS.ignore(("Call1024PreCalls_d0g0v0_London[London]")); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is it normal to have double bracket @FlorianHuc ?
No description provided.