From 0b9b39b63e9b03726d26d36e9d01fe3f6310d7b3 Mon Sep 17 00:00:00 2001 From: anda-ren Date: Mon, 13 Nov 2023 15:00:44 +0800 Subject: [PATCH] fix test error --- .../ai/starwhale/mlops/domain/model/ModelServiceTest.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/server/controller/src/test/java/ai/starwhale/mlops/domain/model/ModelServiceTest.java b/server/controller/src/test/java/ai/starwhale/mlops/domain/model/ModelServiceTest.java index 136b747ba8..040fa975d2 100644 --- a/server/controller/src/test/java/ai/starwhale/mlops/domain/model/ModelServiceTest.java +++ b/server/controller/src/test/java/ai/starwhale/mlops/domain/model/ModelServiceTest.java @@ -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; @@ -231,7 +231,7 @@ RunExecutor runExecutor() { private StorageAccessService storageAccessService; @Autowired - private FineTuneAppService fineTuneAppService; + private FineTuneDomainService fineTuneDomainService; private static final LZ4Factory lz4Factory = LZ4Factory.fastestInstance(); @@ -781,7 +781,7 @@ public void testShareModelVersion() { mock(TrashService.class), mock(JobSpecParser.class), mock(BlobService.class), - fineTuneAppService + fineTuneDomainService ); // public project @@ -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)