Skip to content

Commit

Permalink
fix test error
Browse files Browse the repository at this point in the history
  • Loading branch information
anda-ren committed Nov 13, 2023
1 parent 32f4f95 commit 0b9b39b
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
import ai.starwhale.mlops.domain.MySqlContainerHolder;
import ai.starwhale.mlops.domain.blob.BlobService;
import ai.starwhale.mlops.domain.bundle.tag.BundleVersionTagDao;
import ai.starwhale.mlops.domain.ft.FineTuneAppService;
import ai.starwhale.mlops.domain.ft.FineTuneDomainService;
import ai.starwhale.mlops.domain.job.ModelServingService;
import ai.starwhale.mlops.domain.job.cache.HotJobHolder;
import ai.starwhale.mlops.domain.job.spec.JobSpecParser;
Expand Down Expand Up @@ -231,7 +231,7 @@ RunExecutor runExecutor() {
private StorageAccessService storageAccessService;

@Autowired
private FineTuneAppService fineTuneAppService;
private FineTuneDomainService fineTuneDomainService;

private static final LZ4Factory lz4Factory = LZ4Factory.fastestInstance();

Expand Down Expand Up @@ -781,7 +781,7 @@ public void testShareModelVersion() {
mock(TrashService.class),
mock(JobSpecParser.class),
mock(BlobService.class),
fineTuneAppService
fineTuneDomainService
);

// public project
Expand Down Expand Up @@ -987,7 +987,7 @@ public void testGetFileDataReleaseResource() throws Exception {
mock(TrashService.class),
mock(JobSpecParser.class),
blobService,
fineTuneAppService
fineTuneDomainService
);
var file = ModelPackageStorage.File.newBuilder()
.setSize(1L)
Expand Down

0 comments on commit 0b9b39b

Please sign in to comment.