This commit is contained in:
Akanksha Jain 2024-11-07 13:31:56 +05:30
Родитель 3a3d802941
Коммит 6c186334a6
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -75,10 +75,10 @@ func (suite *customTestSuite) TestInitializePluginsValidPath() {
plugin2 := "./sample_custom_component2.so"
// Compile the Go plugin source files into .so files
cmd := exec.Command("go", "build", "-tags", "excludeAzureDependency", "-buildmode=plugin", "-o", plugin1, source1)
cmd := exec.Command("go", "build", "-buildmode=plugin", "-o", plugin1, source1)
err := cmd.Run()
suite.assert.Nil(err)
cmd = exec.Command("go", "build", "-tags", "excludeAzureDependency", "-buildmode=plugin", "-o", plugin2, source2)
cmd = exec.Command("go", "build", "-buildmode=plugin", "-o", plugin2, source2)
err = cmd.Run()
suite.assert.Nil(err)