lemonldap-ng-controller / lemonldap-ng-controller

LemonLDAP::NG kubernetes controller
Apache License 2.0
17 stars 6 forks source link

Investigate flaky e2e tests #52

Open sathieu opened 6 years ago

sathieu commented 6 years ago

Most of the times e2e tests fail with:

[nginx-ingress] Portal URL
/home/travis/gopath/src/github.com/lemonldap-ng-controller/lemonldap-ng-controller/test/e2e/framework/framework.go:127
  should respect portal parameter [It]
  /home/travis/gopath/src/github.com/lemonldap-ng-controller/lemonldap-ng-controller/test/e2e/settings/portal.go:44
  Expected
      <string>: http://auth.example.org/?url=aHR0cDovL2dvdG8tcG9ydGFsLmV4YW1wbGUuY29tLw==
  to contain substring
      <string>: http://portal.example.com/?url=
  /home/travis/gopath/src/github.com/lemonldap-ng-controller/lemonldap-ng-controller/test/e2e/settings/portal.go:76

It looks like LemonLDAP::NG is not taking the ConfigMap change.

sathieu commented 6 years ago

So far, I've tried:

It is rare to reproduce it on my dev machine, but happens often on travis.