Skip to content

Integration tests are broken #8071

Open
Open

Description

@TobiaszCudnik

I was trying to contribute to #7849, but when using eb857db, Im unable to run integration tests from /test. Ive read the docs and forum thread.

Had to add a missing function to /lib/config/wrapper.go

func (w *wrapper) SetFolder(fcfg FolderConfiguration) error {
	waiter, err := w.Modify(func(cfg *Configuration) {
		cfg.SetFolder(fcfg)
	})
	if err != nil {
		return err
	}
	waiter.Wait()
	return nil
}

After which Ive been hitting 403s on ResumeAll(), eg:

=== RUN   TestConflictsDefault                                                                                         
2021/12/07 09:18:03 Cleaning...
2021/12/07 09:18:03 Generating files...                                                                                
2021/12/07 09:18:03 Starting instance 1...                                                                             
2021/12/07 09:18:05 Starting instance 2...
    conflict_test.go:66: 403 Forbidden                                                                                 
--- FAIL: TestConflictsDefault (5.07s)                                                                                 

Steps

  1. Add the missing function to /lib/config/wrapper.go (and Wrapper interface)
  2. ./build.sh
  3. cd test
  4. go test -v -tags integration

Activity

  1. added
    bug
    needs-triage
    on Dec 7, 2021
  2. added
    build
    and removed
    needs-triage
    on Dec 7, 2021
  3. added theissue type on May 30, 2025
  4. added 2 commits that reference this issue on Mar 24, 2026
    70abce4
    4d6d114
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugbuild

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions