Skip to content

Commit

Permalink
Remove port test.
Browse files Browse the repository at this point in the history
  • Loading branch information
trivialfis committed Nov 14, 2024
1 parent be0ddf5 commit c1f5137
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/test_distributed/test_with_spark/test_spark_local.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import tempfile
import uuid
from collections import namedtuple
from typing import Generator, Sequence, Type
from typing import Generator, Sequence

import numpy as np
import pytest
Expand Down Expand Up @@ -1667,11 +1667,10 @@ def test_tracker(self):
classifier = SparkXGBClassifier(
launch_tracker_on_driver=True,
tracker_host="127.0.0.1",
tracker_port=58892,
num_workers=2,
)
launch_tracker_on_driver, rabit_envs = classifier._get_tracker_args()
assert launch_tracker_on_driver == True
assert launch_tracker_on_driver is True
assert rabit_envs["n_workers"] == 2
assert rabit_envs["dmlc_tracker_uri"] == "127.0.0.1"

Expand Down

0 comments on commit c1f5137

Please sign in to comment.