Skip to content

druid-spring-boot-4-starter-1.2.28-SNAPSHOT构建失败 #6603

@dnlm-dnmd

Description

@dnlm-dnmd

[ERROR] Failures:
[ERROR] OracleResourceTest.test_50_57:70->exec_test:147 expected:<...tial sequence number[
seq_value := employees_seq.NEXTVAL;
-- Print initial sequence number:
DBMS_OUTPUT.PUT_LINE('Initial sequence value: ' || TO_CHAR(seq_value));
INSERT INTO employees_temp (employee_id, first_name, last_name)
VALUES (employees_seq.NEXTVAL, 'Lynette', 'Smith');
INSERT INTO employees_temp2
VALUES (employees_seq.CURRVAL, 'Morgan', 'Smith');
/* Because NEXTVAL values might be referenced
by different users and applications,
and some NEXTVAL values might not be stored in database,
there might be gaps in sequence. /
-- Use CURRVAL to specify record to delete:
seq_value := employees_seq.CURRVAL;
DELETE FROM employees_temp2
WHERE employee_id = seq_value;
UPDATE employees_temp
SET employee_id = employees_seq.NEXTVAL
WHERE first_name = 'Lynette'
AND last_name = 'Smith';
-- Display final value of CURRVAL:]
seq_value := emplo...> but was:<...tial sequence number[
seq_value := employees_seq.NEXTVAL;
-- Print initial sequence number:
DBMS_OUTPUT.PUT_LINE('Initial sequence value: ' || TO_CHAR(seq_value));
INSERT INTO employees_temp (employee_id, first_name, last_name)
VALUES (employees_seq.NEXTVAL, 'Lynette', 'Smith');
INSERT INTO employees_temp2
VALUES (employees_seq.CURRVAL, 'Morgan', 'Smith');
/
Because NEXTVAL values might be referenced
by different users and applications,
and some NEXTVAL values might not be stored in database,
there might be gaps in sequence. */
-- Use CURRVAL to specify record to delete:
seq_value := employees_seq.CURRVAL;
DELETE FROM employees_temp2
WHERE employee_id = seq_value;
UPDATE employees_temp
SET employee_id = employees_seq.NEXTVAL
WHERE first_name = 'Lynette'
AND last_name = 'Smith';
] -- Display final value of CURRVAL:
seq_value := emplo...>
[INFO]
[ERROR] Tests run: 6187, Failures: 1, Errors: 0, Skipped: 1
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] druid-parent 1.2.28-SNAPSHOT ....................... SUCCESS [ 0.870 s]
[INFO] druid 1.2.28-SNAPSHOT .............................. FAILURE [02:00 min]
[INFO] druid-spring-boot-starter 1.2.28-SNAPSHOT .......... SKIPPED
[INFO] druid-wrapper 1.2.28-SNAPSHOT ...................... SKIPPED
[INFO] druid-demo-petclinic 2.7.18 ........................ SKIPPED
[INFO] druid-spring-boot-3-starter 1.2.28-SNAPSHOT ........ SKIPPED
[INFO] druid-spring-boot-4-starter 1.2.28-SNAPSHOT ........ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:01 min
[INFO] Finished at: 2026-02-23T14:06:28+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M7:test (default-test) on project druid: There are test failures.
[ERROR]
[ERROR] Please refer to D:\code\work\druid\core\target\surefire-reports for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :druid

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions