Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Tommel71 committed Feb 28, 2024
1 parent e09e54c commit 2548583
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class BalancesTest extends TestBase {
private val refDir = inputDir + "reference/"

private val ds = new TestEthSource(spark, inputDir)
private val t = new EthTransformation(spark, 2, 100000)
private val t = new EthTransformation(spark, 2, 100000, 100)

import spark.implicits._

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class ComplexGraphTransformationTest extends TestBase {
private val inputDir = "src/test/resources/account/eth/complex_graph/"
private val refDir = inputDir + "reference/"
private val ds = new TestEthSource(spark, inputDir)
private val t = new EthTransformation(spark, 2, 100000)
private val t = new EthTransformation(spark, 2, 100000, 100)

// read raw data
val blocks = ds.blocks()
Expand Down Expand Up @@ -75,7 +75,7 @@ class ComplexGraphTransformationTest extends TestBase {
addressRelations.write
.mode("overwrite")
.json("test_ref/address_relations.json")

// test equality

note("Testing address graph:")
Expand Down
2 changes: 1 addition & 1 deletion src/test/scala/org/graphsense/account/eth/TokensTest.scala
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class TokenTest extends TestBase {
private val inputDir = "src/test/resources/account/eth/tokens/"

private val ds = new TestEthSource(spark, inputDir)
private val t = new EthTransformation(spark, 2, 100000)
private val t = new EthTransformation(spark, 2, 100000, 100)

test("full transform with logs") {
// Parse all but only keep USDT token transfers for compare but parse all of them
Expand Down

0 comments on commit 2548583

Please sign in to comment.