Skip to content

Conversation

@syvb
Copy link
Contributor

@syvb syvb commented Feb 9, 2023

(from the release script)

@syvb
Copy link
Contributor Author

syvb commented Feb 9, 2023

The new candlestick upgrade test fails:

     Running `target/debug/update-tester validate-test-objects -u postgres -h 127.1 -p 28815`
tests/update/candlestick.md:24 `Candlestick Tests`::`Get candlestick values from tick data`

SELECT
  symbol,
  open(candlestick),
  high(candlestick),
  low(candlestick),
  close(candlestick),
  volume(candlestick)
FROM cs
ORDER BY symbol;

Error: output has a different values than expected.
Expected
AAPL | 133.445 | 133.445 |  133.44 | 133.445 |   30
AMZN |  95.225 |  95.225 |  95.225 |  95.225 |    1
INTC |   29.82 |   29.82 |   29.82 |   29.82 | NULL
MSFT |   235.5 |   235.5 |   235.5 |   235.5 |  100
 PFE |   47.38 |   47.38 |   47.38 |   47.38 |    2
TSLA | 123.085 | 123.085 | 123.085 | 123.085 | NULL
(6 rows)

Received
AAPL | 133.445 | 133.445 |  133.44 | 133.445 |  30
AMZN |  95.225 |  95.225 |  95.225 |  95.225 |   1
INTC |   29.82 |   29.82 |   29.82 |   29.82 |    
MSFT |   235.5 |   235.5 |   235.5 |   235.5 | 100
 PFE |   47.38 |   47.38 |   47.38 |   47.38 |   2
TSLA | 123.085 | 123.085 | 123.085 | 123.085 |    
(6 rows)

Delta
AAPL | 133.445 | 133.445 |  133.44 | 133.445 |     30
AMZN |  95.225 |  95.225 |  95.225 |  95.225 |      1
INTC |   29.82 |   29.82 |   29.82 |   29.82 | -NULL+
MSFT |   235.5 |   235.5 |   235.5 |   235.5 |    100
 PFE |   47.38 |   47.38 |   47.38 |   47.38 |      2
TSLA | 123.085 | 123.085 | 123.085 | 123.085 | -NULL+


Dropping database.
1 Tests Failed

Validation Failed

@CLAassistant
Copy link

CLAassistant commented Feb 10, 2023

CLA assistant check
All committers have signed the CLA.

@syvb
Copy link
Contributor Author

syvb commented Feb 10, 2023

bors r+

@bors
Copy link
Contributor

bors bot commented Feb 10, 2023

@bors bors bot merged commit 7eb0aad into main Feb 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants