Minor: update testSuite pipeline name to have UUID to keep unique name (#16309)

This commit is contained in:
Shailesh Parmar 2024-05-16 20:26:02 +05:30 committed by GitHub
parent c24b4e0178
commit 807bb0b89e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -46,6 +46,7 @@ import {
Transi18next,
} from '../../../utils/CommonUtils';
import { getIngestionName } from '../../../utils/ServiceUtils';
import { generateUUID } from '../../../utils/StringsUtils';
import { showErrorToast } from '../../../utils/ToastUtils';
import SuccessScreen from '../../common/SuccessScreen/SuccessScreen';
import DeployIngestionLoaderModal from '../../Modals/DeployIngestionLoaderModal/DeployIngestionLoaderModal';
@ -146,7 +147,8 @@ const TestSuiteIngestion: React.FC<TestSuiteIngestionProps> = ({
? undefined
: data.repeatFrequency,
},
name: updatedName,
displayName: updatedName,
name: generateUUID(),
loggerLevel: data.enableDebugLog ? LogLevels.Debug : LogLevels.Info,
pipelineType: PipelineType.TestSuite,
service: {