Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Tests failing randomly

オープン
#63 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
php, redis, wordpress
領域
backend, testing

調査の方向性

まず、成功したTravisビルド 433394695と失敗したビルド 434077615を比較し、Redisキャッシュテストの失敗を再現します。multisiteインストールと /wp-signup.php へのリダイレクトに関係するテストシナリオを調査します。完了の条件は、テストが断続的な302ではなく、確実にHTTP 200を受け取ることです。

索引モデルが issue の本文から書いたものです。

説明

bug

Tests are currently failing randomly, need to debug this issue.

There are scenarios where it is passing and then randomly failing. For example:
Passed test: https://travis-ci.org/EasyEngine/easyengine/builds/433394695?utm_source=github_status&utm_medium=notification
Failed test: https://travis-ci.org/EasyEngine/easyengine/builds/434077615?utm_source=github_status&utm_medium=notification

The Exception in redis cache test site is randomly occurring, it is giving HTTP code 302 instead of 200 OK. This could be happening due to multisite installations in the tests.

The generated exception:

Unable to find HTTP/1.1 200 OK
      Actual output is : HTTP/1.1 302 Found
      Server: nginx
      Date: Fri, 28 Sep 2018 09:18:55 GMT
      Content-Type: text/html; charset=UTF-8
      Connection: keep-alive
      X-Powered-By: PHP/7.2.9
      Location: http://wpsubdom.test/wp-signup.php?new=wpcache.test
      X-SRCache-Fetch-Status: MISS
      X-SRCache-Store-Status: BYPASS
      X-Powered-By: EasyEngine
      
       (Exception)
主要言語
PHP
スター
12
フォーク
14
平均マージ
3時間 31分
マージ済み PR(30日)
7

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

EasyEngine/site-type-wp のほかの issue

EasyEngine/site-type-wp の issue をすべて見る

似ている issue

PHP の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。