Skip to content

Commit

Permalink
test(GDS): fix num_batches issue
Browse files Browse the repository at this point in the history
  • Loading branch information
billshitg committed Nov 10, 2023
1 parent 2e565a4 commit f7dd719
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/test_gds_GDS.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def test_neighborLoader(self):
buffer_size=4,
)
self.assertTrue(is_query_installed(self.conn, loader.query_name))
self.assertEqual(loader.num_batches, 9)
self.assertEqual(loader.batch_size, 16)

def test_neighborLoader_multiple_filters(self):
loaders = self.conn.gds.neighborLoader(
Expand Down Expand Up @@ -60,7 +60,7 @@ def test_graphLoader(self):
buffer_size=4,
)
self.assertTrue(is_query_installed(self.conn, loader.query_name))
self.assertEqual(loader.num_batches, 11)
self.assertEqual(loader.batch_size, 1024)

def test_vertexLoader(self):
loader = self.conn.gds.vertexLoader(
Expand All @@ -72,7 +72,7 @@ def test_vertexLoader(self):
buffer_size=4,
)
self.assertTrue(is_query_installed(self.conn, loader.query_name))
self.assertEqual(loader.num_batches, 9)
self.assertEqual(loader.batch_size, 16)

def test_edgeLoader(self):
loader = self.conn.gds.edgeLoader(
Expand All @@ -83,7 +83,7 @@ def test_edgeLoader(self):
buffer_size=4,
)
self.assertTrue(is_query_installed(self.conn, loader.query_name))
self.assertEqual(loader.num_batches, 11)
self.assertEqual(loader.batch_size, 1024)

def test_edgeNeighborLoader(self):
loader = self.conn.gds.edgeNeighborLoader(
Expand All @@ -100,7 +100,7 @@ def test_edgeNeighborLoader(self):
buffer_size=4,
)
self.assertTrue(is_query_installed(self.conn, loader.query_name))
self.assertEqual(loader.num_batches, 11)
self.assertEqual(loader.batch_size, 1024)

def test_configureKafka(self):
self.conn.gds.configureKafka(kafka_address="kafka:9092")
Expand Down

0 comments on commit f7dd719

Please sign in to comment.