Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #4144

Closed
Open
Created May 30, 2013 by Administrator@rootOwner

Error in the test suite

Created by: jvanbaarsen

I try to run the test suite, and i expect to get all green (since i just checked it out, and on travis-ci gitlab is passing)

But when i run the tests with:


i get the following red test:

Scenario: Edit user and change username to non ascii char ✔ Given I sign in as an admin # features/steps/shared/authentication.rb:11 ✔ And system has users # features/steps/shared/admin.rb:8 ✔ When I visit admin users page # features/steps/shared/paths.rb:96 ✔ And Click edit # features/steps/admin/admin_users.rb:12 ✔ And Input non ascii char in username # features/steps/admin/admin_users.rb:17 ! And Click save # features/steps/admin/admin_users.rb:21 ~ Then See username error message ~ And Not chenged form action url

    Mysql2::Error: Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation '=': SELECT  `namespaces`.* FROM `namespaces`  WHERE `namespaces`.`path` = 'あい' LIMIT 1
    /home/vagrant/.rvm/gems/ruby-1.9.3-p374/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:245:in `query'

I also just downloaded a fresh vagrant box from the gitlab-vagrant repo, so everythin is fresh out of the box.
Assignee
Assign to
Time tracking