Flaky test: TestPostStore/MySQL/GetParentsForExportAfter

Description

— FAIL: TestPostStore/MySQL/GetParentsForExportAfter (0.00s)
require.go:765:
Error Trace: post_store.go:2375
post_store.go:50
Error: Expected nil, but got: &model.AppError{Id:"model.team.is_valid.reserved.app_error", Message:"model.team.is_valid.reserved.app_error", DetailedError:"id=sh5kttozob8o7njphdbxyxinjh", RequestId:"", StatusCode:400, Where:"Team.IsValid", IsOAuth:false, params:map[string]interface {}(nil)}
Test: TestPostStore/MySQL/GetParentsForExportAfter

QA Test Steps

No testing required.

Activity

Show:
Jesse Hallam
July 25, 2019, 12:59 AM

There are a handful of “reserved” team names that will be rejected if found at the start of the team name – e.g. “api21251251” or “error1251251”. Turns out we just got really unlucky and a model.NewId invocation generated just such a collision. I’ll change all such random generations to include a prefix.

Prapti Shrestha
August 8, 2019, 8:36 PM

Testing not required.
Closing.

Mana

None

Assignee

Jesse Hallam

QA Assignee

Prapti Shrestha

Reporter

Eli Yukelzon

Epic Link

None

Fix versions

Mattermost Team

Sustained Engineering

Sprint

None

Labels

None

QA Testing Areas

None

GitHub Issue

None

Components

None

Severity

None
Configure