mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-25 21:47:30 +03:00
Print the final minimized test plan before sending it to zed.dev
This commit is contained in:
parent
695973d117
commit
8f25b98e6f
@ -40,13 +40,15 @@ async function main() {
|
||||
|
||||
console.log("found failure at seed", failingSeed)
|
||||
const minimizedSeed = minimizeTestPlan(planPath, minPlanPath)
|
||||
const minimizedPlan = JSON.parse(fs.readFileSync(minPlanPath, 'utf8'))
|
||||
const minimizedPlan = fs.readFileSync(minPlanPath, 'utf8')
|
||||
|
||||
console.log("minimized plan:\n", minimizedPlan)
|
||||
|
||||
const url = `${ZED_SERVER_URL}/api/randomized_test_failure`
|
||||
const body = {
|
||||
seed: minimizedSeed,
|
||||
token: ZED_CLIENT_SECRET_TOKEN,
|
||||
plan: minimizedPlan,
|
||||
plan: JSON.parse(minimizedPlan),
|
||||
commit: commit,
|
||||
}
|
||||
await fetch(url, {
|
||||
|
Loading…
Reference in New Issue
Block a user