Skip to content

Commit ac27b0c

Browse files
committed
testsuite: disable postinstall
Otherwise Windows CI will get stuck.
1 parent 571df71 commit ac27b0c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Diff for: internal/integrationtest/arduino-cli.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -261,12 +261,13 @@ func (inst *ArduinoCLIInstance) BoardListWatch() (commands.ArduinoCoreService_Bo
261261
}
262262

263263
// PlatformInstall calls the "PlatformInstall" gRPC method.
264-
func (inst *ArduinoCLIInstance) PlatformInstall(ctx context.Context, packager, arch, version string) (commands.ArduinoCoreService_PlatformInstallClient, error) {
264+
func (inst *ArduinoCLIInstance) PlatformInstall(ctx context.Context, packager, arch, version string, skipPostInst bool) (commands.ArduinoCoreService_PlatformInstallClient, error) {
265265
installCl, err := inst.cli.daemonClient.PlatformInstall(ctx, &commands.PlatformInstallRequest{
266266
Instance: inst.instance,
267267
PlatformPackage: packager,
268268
Architecture: arch,
269269
Version: version,
270+
SkipPostInstall: skipPostInst,
270271
})
271272
logCallf(">>> PlatformInstall(%v:%v %v)\n", packager, arch, version)
272273
return installCl, err

Diff for: internal/integrationtest/daemon/daemon_compile_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ func TestDaemonCompileOptions(t *testing.T) {
3838
fmt.Printf("INIT> %v\n", ir.GetMessage())
3939
}))
4040

41-
plInst, err := inst.PlatformInstall(context.Background(), "arduino", "avr", "1.8.5")
41+
plInst, err := inst.PlatformInstall(context.Background(), "arduino", "avr", "1.8.5", false)
4242
require.NoError(t, err)
4343
for {
4444
msg, err := plInst.Recv()

0 commit comments

Comments
 (0)