ergoplatform / ergo

Ergo protocol description & reference client implementation
https://ergoplatform.org/
Creative Commons Zero v1.0 Universal
504 stars 170 forks source link

Fixing IT tests #2129

Closed ccellado closed 8 months ago

ccellado commented 9 months ago

Fixes #653 #1564 #1160

ccellado commented 9 months ago

#2128 (comment)

Fetched your docker-fix branch: a similar error (within IntelliJ)

P:\work\ergo\src\it\scala\org\ergoplatform\it\DeepRollBackSpec.scala:52:44
The async requires the compiler option -Xasync (supported only by Scala 2.12.12+ / 2.13.3+)
    val result: Future[Unit] = Async.async 

(cli complile via sbt it:compile it2:compile works though)

IT tests are meant to run outside IDEA anyways, so fixing for it is lower priority

ccellado commented 9 months ago

(cli complile via sbt it:compile it2:compile works though)

IT tests are meant to run outside IDEA anyways, so fixing for it is lower priority

Not running the tests in idea, just the main build

Reproduction

  • checkout branch
  • open ergo with an IntellJ IDEA Community, fresh install
  • MENU -> Build -> Build Project

IDEA not respecting sbt config, so tick that box and project builds fine

image
ccellado commented 9 months ago

Readme updated

ccellado commented 8 months ago

Dirty tree, closed in favor of #2139