rangedb
rangedb copied to clipboard
Building locally intermittent failing test
Recently started building images locally and occasionally have a test fail
Seems to most freq happen if I remove image/containers and do a fresh build.
Test:
--- FAIL: Test_AggregateType (0.01s)
--- FAIL: Test_AggregateType/renders_events_by_aggregate_type,_one_record_per_page,_1st_page (0.00s)
Output:
Error Trace: ui_test.go:114
Error: "\n <!doctype html>\n <html class=\"no-js\" lang=\"en\">\n <head>\n <meta charset=\"utf-8\"/>\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"/>\n <title>thing - RangeDB</title>\n <link rel=\"icon\" href=\"/static/img/favicon.ico\"/>\n <link rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/static/img/favicon.ico\"/>\n <link rel=\"stylesheet\" href=\"/static/css/foundation-6.5.3.min.css\">\n <link rel=\"stylesheet\" href=\"/static/css/foundation-icons.css\">\n <link rel=\"stylesheet\" href=\"/static/css/site.css\">\n \n </head>\n <body>\n <div id=\"header\" class=\"top-bar\">\n <div class=\"top-bar-left\">\n <div class=\"top-bar-title\">\n <a href=\"/\">\n <img src=\"/static/img/rangedb-logo-white-30x30.png\" width=\"30\" height=\"30\" alt=\"RangeDB Logo\"/>\n <span>RangeDB</span>\n </a>\n </div>\n </div>\n <div class=\"top-bar-right\">\n <ul class=\"menu\">\n <li><a href=\"/\">Home</a></li>\n <li><a href=\"/aggregate-types\">Aggregates</a></li>\n </ul>\n </div>\n </div>\n\n <div id=\"content\">\n \n <div class=\"grid-container\">\n <div class=\"grid-x grid-padding-x\">\n <div class=\"cell medium-12 medium-order-1\">\n <h3>\n Aggregate Type: thing\n <small>(1)</small>\n </h3>\n \n<table class=\"records\">\n <thead>\n <tr>\n <th>Event #</th>\n <th>Event Type</th>\n <th>Aggregate ID</th>\n <th>Insert Date</th>\n <th>Data</th>\n </tr>\n </thead>\n <tbody>\n\n <tr>\n <td>0</td>\n <td>ThingWasDone</td>\n <td><a href=\"/e/thing/f6b6f8ed682c4b5180f625e53b3c4bac\">f6b6f8ed682c4b5180f625e53b3c4bac</a></td>\n <td class=\"date\">Mar 28, 2021 02:25:01 UTC</td>\n <td>{"id":"f6b6f8ed682c4b5180f625e53b3c4bac","number":0}</td>\n </tr>\n \n </tbody>\n</table>\n\n \n<nav aria-label=\"Pagination\">\n <ul class=\"pagination text-center\">\n \n <li class=\"pagination-previous disabled\">Previous</li>\n \n \n <li class=\"pagination-next disabled\">Next</li>\n \n </ul>\n</nav>\n\n </div>\n </div>\n </div>\n\n </div>\n\n <div id=\"footer\" class=\"grid-container\">\n <div class=\"grid-x grid-padding-x align-center\">\n <div class=\"cell text-center\">\n <small>\n RangeDB 0.8.1-dev\n | <a href=\"https://github.com/inklabs/rangedb\">Documentation</a>\n | <a href=\"/api/list-aggregate-types\">API</a>\n </small>\n </div>\n </div>\n </div>\n\n </body>\n </html>\n\n\n\n\n" does not contain "/e/thing?itemsPerPage=1&page=2"
Test: Test_AggregateType/renders_events_by_aggregate_type,_one_record_per_page,_1st_page